Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 113.3 kB / 17.28 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 189.3 kB / 18.19 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.1 MB / 224 MB, free: 12.44 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 52.16 kB / 280.2 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09763/0.09874, allocations: 46.63 MB / 326.9 MB, free: 4.699 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003935/0.1027, allocations: 2.811 MB / 329.7 MB, free: 1.863 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009046/0.1036, allocations: 0.6514 MB / 330.3 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.1038, allocations: 7.938 kB / 330.3 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001532/0.1039, allocations: 39.69 kB / 330.4 MB, free: 1.156 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.1041, allocations: 79.36 kB / 330.5 MB, free: 1.078 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001793/0.1043, allocations: 59.95 kB / 330.5 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003366/0.1046, allocations: 350.9 kB / 330.9 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002446/0.1049, allocations: 143.2 kB / 331 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.105, allocations: 131.6 kB / 331.1 MB, free: 420 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.1052, allocations: 151.3 kB / 331.3 MB, free: 268 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.155e-05/0.1052, allocations: 32 kB / 331.3 MB, free: 236 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.287e-05/0.1053, allocations: 32 kB / 331.3 MB, free: 204 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.031e-05/0.1053, allocations: 67.77 kB / 331.4 MB, free: 136 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.1055, allocations: 167.2 kB / 331.6 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.1058, allocations: 355 kB / 331.9 MB, free: 15.62 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1058, allocations: 4 kB / 331.9 MB, free: 15.62 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1058, allocations: 0 / 331.9 MB, free: 15.62 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.1058, allocations: 0 / 331.9 MB, free: 15.62 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0007913/0.1066, allocations: 0.5886 MB / 332.5 MB, free: 14.98 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.1067, allocations: 8.031 kB / 332.5 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.287e-05/0.1067, allocations: 62.72 kB / 332.6 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.238e-05/0.1068, allocations: 44.5 kB / 332.6 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.1071, allocations: 251.8 kB / 332.9 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.1071, allocations: 20.94 kB / 332.9 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.711e-05/0.1072, allocations: 24.38 kB / 332.9 MB, free: 14.53 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004186/0.1076, allocations: 253 kB / 333.2 MB, free: 14.28 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1076, allocations: 7.984 kB / 333.2 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.1076, allocations: 12 kB / 333.2 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.1076, allocations: 8 kB / 333.2 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003021/0.108, allocations: 182.2 kB / 333.4 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.1094, allocations: 1.025 MB / 334.4 MB, free: 12.97 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003878/0.1098, allocations: 320.9 kB / 334.7 MB, free: 12.61 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.11, allocations: 144.8 kB / 334.8 MB, free: 12.46 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.11, allocations: 3.938 kB / 334.8 MB, free: 12.46 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.11, allocations: 42.56 kB / 334.9 MB, free: 12.41 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.202e-06/0.11, allocations: 0 / 334.9 MB, free: 12.41 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001422/0.1115, allocations: 0.7766 MB / 335.7 MB, free: 11.58 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.1115, allocations: 55.41 kB / 335.7 MB, free: 11.51 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.1117, allocations: 190.3 kB / 335.9 MB, free: 11.31 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.1117, allocations: 29.7 kB / 335.9 MB, free: 11.28 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.532e-05/0.1118, allocations: 164.3 kB / 336.1 MB, free: 11.11 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.414e-05/0.1119, allocations: 94.64 kB / 336.2 MB, free: 11.02 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/0.112, allocations: 49.98 kB / 336.2 MB, free: 10.96 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1121, allocations: 334.8 kB / 336.6 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.1123, allocations: 76.53 kB / 336.6 MB, free: 10.55 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.1124, allocations: 98.8 kB / 336.7 MB, free: 10.45 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.1127, allocations: 189.5 kB / 336.9 MB, free: 10.26 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1127, allocations: 4 kB / 336.9 MB, free: 10.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004827/0.1132, allocations: 318 kB / 337.2 MB, free: 9.934 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1132, allocations: 4 kB / 337.2 MB, free: 9.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1132, allocations: 4 kB / 337.2 MB, free: 9.926 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002444/0.1135, allocations: 80.81 kB / 337.3 MB, free: 9.844 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.1137, allocations: 55.84 kB / 337.4 MB, free: 9.789 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/0.1155, allocations: 2.08 MB / 339.5 MB, free: 7.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.1157, allocations: 15.95 kB / 339.5 MB, free: 7.555 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.1157, allocations: 12.06 kB / 339.5 MB, free: 7.543 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.1158, allocations: 142 kB / 339.6 MB, free: 7.395 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.1159, allocations: 15.81 kB / 339.6 MB, free: 7.379 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.424e-05/0.1159, allocations: 29.86 kB / 339.7 MB, free: 7.355 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1159, allocations: 4 kB / 339.7 MB, free: 7.352 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.1159, allocations: 0 / 339.7 MB, free: 7.352 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1159, allocations: 3.938 kB / 339.7 MB, free: 7.348 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009835/0.1169, allocations: 0.7525 MB / 340.4 MB, free: 6.535 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1169, allocations: 0 / 340.4 MB, free: 6.535 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.1171, allocations: 39.92 kB / 340.5 MB, free: 6.496 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000179/0.1173, allocations: 68.8 kB / 340.5 MB, free: 6.426 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.1173, allocations: 8 kB / 340.5 MB, free: 6.418 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001608/0.1189, allocations: 2.002 MB / 342.5 MB, free: 4.273 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.119, allocations: 0 / 342.5 MB, free: 4.273 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005818/0.1195, allocations: 455.7 kB / 343 MB, free: 3.809 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.1196, allocations: 100.9 kB / 343.1 MB, free: 3.691 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.1196, allocations: 4 kB / 343.1 MB, free: 3.688 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.1198, allocations: 16.05 kB / 343.1 MB, free: 3.672 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.1199, allocations: 19.97 kB / 343.1 MB, free: 3.652 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.1199, allocations: 12.11 kB / 343.1 MB, free: 3.641 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.12, allocations: 140.2 kB / 343.3 MB, free: 3.504 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.12, allocations: 0 / 343.3 MB, free: 3.504 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003976/0.1204, allocations: 83.98 kB / 343.4 MB, free: 3.422 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000873/0.1213, allocations: 0.9982 MB / 344.4 MB, free: 2.395 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007029/0.122, allocations: 374.4 kB / 344.7 MB, free: 2.016 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.122, allocations: 3.938 kB / 344.7 MB, free: 2.012 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004252/0.1224, allocations: 250.6 kB / 345 MB, free: 1.754 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.1229, allocations: 44.42 kB / 345 MB, free: 1.711 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003297/0.1262, allocations: 2.958 MB / 348 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.1265, allocations: 0.7675 MB / 348.7 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.352e-05/0.1266, allocations: 14.3 kB / 348.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.1267, allocations: 83.41 kB / 348.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1267, allocations: 0 / 348.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.271/2.398, allocations: 5.58 MB / 354.4 MB, free: 8.18 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003069/2.398, allocations: 230.7 kB / 354.6 MB, free: 7.922 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.745/5.144, allocations: 0 / 354.6 MB, free: 7.922 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches