Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009808/0.0009808, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8808/0.8808, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 324.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/1.983e-05, allocations: 4.953 kB / 324.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.004069/0.004089, allocations: 5.101 MB / 329.7 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.00596, allocations: 1.176 MB / 330.9 MB, free: 9.559 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003144/0.006274, allocations: 27.88 kB / 330.9 MB, free: 9.531 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000259/0.006533, allocations: 166.4 kB / 331.1 MB, free: 9.367 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003952/0.006928, allocations: 293.3 kB / 331.4 MB, free: 9.078 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.007274, allocations: 227.6 kB / 331.6 MB, free: 8.855 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007218/0.007996, allocations: 1.113 MB / 332.7 MB, free: 7.738 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004002/0.008396, allocations: 371 kB / 333.1 MB, free: 7.352 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005312/0.008927, allocations: 0.6355 MB / 333.7 MB, free: 6.715 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003306/0.009258, allocations: 338.9 kB / 334 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.239e-05/0.00935, allocations: 96 kB / 334.1 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.874e-05/0.009439, allocations: 96 kB / 334.2 MB, free: 6.195 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.009547, allocations: 223.2 kB / 334.4 MB, free: 5.977 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.009777, allocations: 367.1 kB / 334.8 MB, free: 5.617 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007196/0.0105, allocations: 1.125 MB / 335.9 MB, free: 4.488 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.0105, allocations: 4 kB / 335.9 MB, free: 4.484 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.0105, allocations: 0 / 335.9 MB, free: 4.484 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.01051, allocations: 4 kB / 335.9 MB, free: 4.48 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001233/0.01175, allocations: 1.17 MB / 337.1 MB, free: 3.281 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.01179, allocations: 12.03 kB / 337.1 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001248/0.01191, allocations: 148.1 kB / 337.3 MB, free: 3.117 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.01203, allocations: 112.3 kB / 337.4 MB, free: 3.008 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004555/0.01248, allocations: 400.8 kB / 337.8 MB, free: 2.586 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.841e-05/0.01252, allocations: 66.38 kB / 337.8 MB, free: 2.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-05/0.0126, allocations: 96.38 kB / 337.9 MB, free: 2.426 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009339/0.01353, allocations: 1.148 MB / 339.1 MB, free: 1.188 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.01355, allocations: 4.188 kB / 339.1 MB, free: 1.184 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.834e-05/0.0136, allocations: 40.12 kB / 339.1 MB, free: 1.141 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.01361, allocations: 28 kB / 339.1 MB, free: 1.113 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006272/0.01424, allocations: 0.5661 MB / 339.7 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.0167, allocations: 2.674 MB / 342.4 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.01699, allocations: 262.5 kB / 342.6 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.0172, allocations: 225 kB / 342.9 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.01722, allocations: 4 kB / 342.9 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.01724, allocations: 38.56 kB / 342.9 MB, free: 13.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 1.624e-06/0.01725, allocations: 3.938 kB / 342.9 MB, free: 13.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008977/0.01814, allocations: 0.5798 MB / 343.5 MB, free: 12.63 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.01817, allocations: 55.41 kB / 343.5 MB, free: 12.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003774/0.01855, allocations: 0.5336 MB / 344.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.01857, allocations: 37.7 kB / 344.1 MB, free: 11.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.0188, allocations: 495.2 kB / 344.6 MB, free: 11.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.468e-05/0.01888, allocations: 166.6 kB / 344.8 MB, free: 11.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.01901, allocations: 134.6 kB / 344.9 MB, free: 11.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.01912, allocations: 374.7 kB / 345.3 MB, free: 10.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.0193, allocations: 161.9 kB / 345.4 MB, free: 10.65 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003091/0.01961, allocations: 457.5 kB / 345.9 MB, free: 10.08 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005519/0.02016, allocations: 0.6508 MB / 346.5 MB, free: 9.301 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.02017, allocations: 4 kB / 346.5 MB, free: 9.297 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007788/0.02095, allocations: 0.752 MB / 347.3 MB, free: 8.535 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.02096, allocations: 12.16 kB / 347.3 MB, free: 8.523 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.02097, allocations: 12 kB / 347.3 MB, free: 8.512 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000204/0.02118, allocations: 76.81 kB / 347.4 MB, free: 8.434 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/0.02154, allocations: 203.6 kB / 347.6 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/0.02323, allocations: 1.903 MB / 349.5 MB, free: 6.215 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004996/0.02373, allocations: 91.3 kB / 349.6 MB, free: 6.125 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.02377, allocations: 35.98 kB / 349.6 MB, free: 6.09 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * 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 prepare postOptimizeDAE: time 0.0002568/0.02402, allocations: 213.6 kB / 349.8 MB, free: 5.871 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.631e-05/0.02409, allocations: 67.62 kB / 349.9 MB, free: 5.805 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.798e-05/0.02415, allocations: 61.5 kB / 349.9 MB, free: 5.742 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.02415, allocations: 4 kB / 349.9 MB, free: 5.738 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.02416, allocations: 0 / 349.9 MB, free: 5.738 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.02417, allocations: 4 kB / 349.9 MB, free: 5.734 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005365/0.0247, allocations: 0.5548 MB / 350.5 MB, free: 5.137 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.02471, allocations: 0 / 350.5 MB, free: 5.137 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.02496, allocations: 99.88 kB / 350.6 MB, free: 5.039 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001777/0.02514, allocations: 68.8 kB / 350.7 MB, free: 4.969 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.02516, allocations: 12 kB / 350.7 MB, free: 4.957 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/0.02651, allocations: 1.872 MB / 352.5 MB, free: 2.969 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.02651, allocations: 0 / 352.5 MB, free: 2.969 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006851/0.0272, allocations: 0.6588 MB / 353.2 MB, free: 2.289 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.656e-05/0.02727, allocations: 63.48 kB / 353.3 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.0273, allocations: 12.06 kB / 353.3 MB, free: 2.215 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.02754, allocations: 47.95 kB / 353.3 MB, free: 2.168 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.634e-05/0.02761, allocations: 27.95 kB / 353.3 MB, free: 2.141 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.02762, allocations: 16.11 kB / 353.4 MB, free: 2.125 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002769/0.0279, allocations: 346.9 kB / 353.7 MB, free: 1.789 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.0279, allocations: 4 kB / 353.7 MB, free: 1.785 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005618/0.02846, allocations: 251.4 kB / 353.9 MB, free: 1.539 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * 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 (33): * Single equations (assignments): 32 * 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.0008778/0.02934, allocations: 1.218 MB / 355.2 MB, free: 300 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008878/0.03023, allocations: 0.5573 MB / 355.7 MB, free: 15.72 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.03023, allocations: 0 / 355.7 MB, free: 15.72 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002994/0.03053, allocations: 311.2 kB / 356 MB, free: 15.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.03094, allocations: 110.4 kB / 356.1 MB, free: 15.3 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005031/0.03597, allocations: 5.379 MB / 361.5 MB, free: 9.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.03621, allocations: 336 kB / 361.8 MB, free: 9.215 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001977/0.03641, allocations: 69.22 kB / 361.9 MB, free: 9.148 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.03662, allocations: 272.3 kB / 362.2 MB, free: 8.879 MB / 330.7 MB Notification: Performance of SimCode: time 1.262e-06/0.03662, allocations: 3.938 kB / 362.2 MB, free: 8.875 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02858/0.0652, allocations: 14.22 MB / 376.4 MB, free: 10.94 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.101/7.166, allocations: 6.984 kB / 376.4 MB, free: 10.93 MB / 346.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.968706260435283]