Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001035/0.001035, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.007474/0.007474, allocations: 165.6 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8256/0.8256, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.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_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 298.5 MB, free: 3.465 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.822e-05, allocations: 2.281 kB / 298.5 MB, free: 3.461 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.1209/0.121, allocations: 5.02 MB / 303.5 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.1227, allocations: 1.177 MB / 304.7 MB, free: 12.69 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003453/0.123, allocations: 21.44 kB / 304.7 MB, free: 12.68 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002618/0.1233, allocations: 172 kB / 304.9 MB, free: 12.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003926/0.1237, allocations: 290.1 kB / 305.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.1241, allocations: 237.2 kB / 305.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007338/0.1248, allocations: 1.104 MB / 306.5 MB, free: 11.73 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004393/0.1253, allocations: 377.5 kB / 306.9 MB, free: 11.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000568/0.1258, allocations: 0.6292 MB / 307.5 MB, free: 11.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003611/0.1262, allocations: 339.4 kB / 307.8 MB, free: 11.16 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.1263, allocations: 97.47 kB / 307.9 MB, free: 11.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.1264, allocations: 102 kB / 308 MB, free: 11.15 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.932e-05/0.1265, allocations: 218.8 kB / 308.2 MB, free: 11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002392/0.1267, allocations: 368.5 kB / 308.6 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008315/0.1276, allocations: 1.123 MB / 309.7 MB, free: 10.42 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1276, allocations: 1.656 kB / 309.7 MB, free: 10.42 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1276, allocations: 0 / 309.7 MB, free: 10.42 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.1276, allocations: 0 / 309.7 MB, free: 10.42 MB / 282.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.001226/0.1288, allocations: 1.182 MB / 310.9 MB, free: 9.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.1288, allocations: 13.05 kB / 310.9 MB, free: 9.676 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001116/0.129, allocations: 148.2 kB / 311.1 MB, free: 9.578 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.1291, allocations: 110.9 kB / 311.2 MB, free: 9.523 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004789/0.1295, allocations: 400.3 kB / 311.6 MB, free: 9.227 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/0.1296, allocations: 76.75 kB / 311.6 MB, free: 9.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.862e-05/0.1297, allocations: 90.2 kB / 311.7 MB, free: 9.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008798/0.1305, allocations: 1.149 MB / 312.9 MB, free: 8.426 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.1306, allocations: 2.578 kB / 312.9 MB, free: 8.426 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.178e-05/0.1306, allocations: 41.16 kB / 312.9 MB, free: 8.395 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.1306, allocations: 23.44 kB / 312.9 MB, free: 8.395 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006112/0.1312, allocations: 0.5719 MB / 313.5 MB, free: 8.184 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002325/0.1335, allocations: 2.663 MB / 316.2 MB, free: 6.469 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.1338, allocations: 265.5 kB / 316.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.1341, allocations: 233.2 kB / 316.7 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.1341, allocations: 4.656 kB / 316.7 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.1341, allocations: 46.48 kB / 316.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 1.854e-06/0.1341, allocations: 0 / 316.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008784/0.135, allocations: 0.5721 MB / 317.3 MB, free: 5.996 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.135, allocations: 56.81 kB / 317.3 MB, free: 5.934 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/0.1354, allocations: 0.5323 MB / 317.9 MB, free: 5.664 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.1354, allocations: 37.2 kB / 317.9 MB, free: 5.625 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.1356, allocations: 0.4888 MB / 318.4 MB, free: 5.227 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.135e-05/0.1357, allocations: 164.1 kB / 318.5 MB, free: 5.098 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.1358, allocations: 132.7 kB / 318.7 MB, free: 5.023 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.648e-05/0.1359, allocations: 372.2 kB / 319 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.136, allocations: 176.5 kB / 319.2 MB, free: 4.613 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.1363, allocations: 457.2 kB / 319.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000492/0.1368, allocations: 0.6396 MB / 320.3 MB, free: 3.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.1368, allocations: 3.031 kB / 320.3 MB, free: 3.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007928/0.1376, allocations: 0.7625 MB / 321.1 MB, free: 3.316 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1376, allocations: 8.688 kB / 321.1 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.1376, allocations: 9.031 kB / 321.1 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002176/0.1379, allocations: 88.89 kB / 321.2 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/0.1382, allocations: 194.9 kB / 321.4 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/0.1393, allocations: 1.88 MB / 323.2 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003503/0.1397, allocations: 89.81 kB / 323.3 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.1397, allocations: 36.25 kB / 323.4 MB, free: 1.562 MB / 282.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.0002263/0.1399, allocations: 211.7 kB / 323.6 MB, free: 1.383 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.14, allocations: 65.31 kB / 323.6 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.959e-05/0.14, allocations: 65.91 kB / 323.7 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.14, allocations: 4.156 kB / 323.7 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.1401, allocations: 6.562 kB / 323.7 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1401, allocations: 2.812 kB / 323.7 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000494/0.1406, allocations: 0.5578 MB / 324.3 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1406, allocations: 3.938 kB / 324.3 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.1408, allocations: 99.05 kB / 324.4 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001486/0.1409, allocations: 72.62 kB / 324.4 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.1409, allocations: 7.516 kB / 324.4 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.142, allocations: 1.859 MB / 326.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.142, allocations: 0 / 326.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006459/0.1426, allocations: 0.6653 MB / 327 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.915e-05/0.1427, allocations: 67.14 kB / 327 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.1427, allocations: 7.156 kB / 327 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.1429, allocations: 47 kB / 327.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.143, allocations: 29.75 kB / 327.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.143, allocations: 17.19 kB / 327.1 MB, free: 14.74 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002608/0.1432, allocations: 344.7 kB / 327.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1432, allocations: 0 / 327.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005887/0.1438, allocations: 244.7 kB / 327.7 MB, free: 14.48 MB / 298.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.0008973/0.1447, allocations: 1.223 MB / 328.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00071/0.1454, allocations: 0.5585 MB / 329.5 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1454, allocations: 1.406 kB / 329.5 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002898/0.1457, allocations: 312 kB / 329.8 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.1461, allocations: 116.7 kB / 329.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004816/0.151, allocations: 5.377 MB / 335.3 MB, free: 8.594 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.1512, allocations: 340 kB / 335.6 MB, free: 8.234 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002369/0.1514, allocations: 69.2 kB / 335.7 MB, free: 8.168 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.1516, allocations: 268.4 kB / 336 MB, free: 7.902 MB / 298.7 MB Notification: Performance of SimCode: time 1.173e-06/0.1516, allocations: 0 / 336 MB, free: 7.902 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.1782, allocations: 14.23 MB / 350.2 MB, free: 9.621 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.311/7.489, allocations: 0 / 350.2 MB, free: 9.621 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 9.179007580503821]