Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002041/0.002041, allocations: 110.2 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002025/0.002025, allocations: 190.9 kB / 21.44 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 225.6 MB / 249.8 MB, free: 3.504 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2514/0.2514, allocations: 44.93 MB / 349.6 MB, free: 1.73 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator") translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 76.62 kB / 492.3 MB, free: 29.89 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1424, allocations: 64.25 MB / 0.5435 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003547/0.1459, allocations: 1.722 MB / 0.5451 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001829/0.1461, allocations: 71.72 kB / 0.5452 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.812e-05/0.1462, allocations: 4 kB / 0.5452 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.272e-05/0.1463, allocations: 15.86 kB / 0.5452 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.7e-05/0.1463, allocations: 27.72 kB / 0.5453 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001037/0.1464, allocations: 27.97 kB / 0.5453 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.1466, allocations: 99.59 kB / 0.5454 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001874/0.1468, allocations: 39.95 kB / 0.5454 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.617e-05/0.1468, allocations: 35.92 kB / 0.5455 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.543e-05/0.1469, allocations: 47.78 kB / 0.5455 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.147, allocations: 12 kB / 0.5455 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.051e-05/0.147, allocations: 12 kB / 0.5455 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.415e-05/0.147, allocations: 23.92 kB / 0.5455 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.176e-05/0.1471, allocations: 55.73 kB / 0.5456 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.1473, allocations: 115.5 kB / 0.5457 GB, free: 1.344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.1473, allocations: 11.98 kB / 0.5457 GB, free: 1.332 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1473, allocations: 0 / 0.5457 GB, free: 1.332 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1473, allocations: 3.938 kB / 0.5457 GB, free: 1.328 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006253/0.1479, allocations: 399.3 kB / 0.5461 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.148, allocations: 12.03 kB / 0.5461 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.43e-05/0.148, allocations: 8.891 kB / 0.5461 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.1482, allocations: 176.2 kB / 0.5463 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.1482, allocations: 8.609 kB / 0.5463 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.1482, allocations: 12.38 kB / 0.5463 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.1485, allocations: 129.6 kB / 0.5464 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1485, allocations: 192 / 0.5464 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.1485, allocations: 11.94 kB / 0.5464 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1485, allocations: 0 / 0.5464 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.1487, allocations: 67.91 kB / 0.5465 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.1497, allocations: 0.7198 MB / 0.5472 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.1498, allocations: 169.1 kB / 0.5474 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.69e-05/0.1499, allocations: 80.14 kB / 0.5475 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.871e-05/0.1499, allocations: 75.28 kB / 0.5475 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.91e-05/0.15, allocations: 109.8 kB / 0.5476 GB, free: 15.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.443e-06/0.15, allocations: 0 / 0.5476 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001009/0.1501, allocations: 41.58 kB / 0.5477 GB, free: 15.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.82e-05/0.1502, allocations: 126.7 kB / 0.5478 GB, free: 14.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.1503, allocations: 147.6 kB / 0.5479 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.1504, allocations: 29.7 kB / 0.548 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.317e-05/0.1505, allocations: 127.8 kB / 0.5481 GB, free: 14.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.806e-06/0.1505, allocations: 0 / 0.5481 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.645e-05/0.1505, allocations: 25.7 kB / 0.5481 GB, free: 14.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1507, allocations: 318.8 kB / 0.5484 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.088e-05/0.1507, allocations: 8 kB / 0.5484 GB, free: 14.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.786e-05/0.1507, allocations: 45.14 kB / 0.5485 GB, free: 14.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.705e-05/0.1508, allocations: 53.03 kB / 0.5485 GB, free: 14.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1508, allocations: 0 / 0.5485 GB, free: 14.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001631/0.151, allocations: 81.52 kB / 0.5486 GB, free: 14.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.151, allocations: 4 kB / 0.5486 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.151, allocations: 0 / 0.5486 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.151, allocations: 4 kB / 0.5486 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.672e-05/0.1511, allocations: 11.98 kB / 0.5486 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.1511, allocations: 4.125 kB / 0.5486 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.794e-05/0.1512, allocations: 19.72 kB / 0.5486 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1512, allocations: 7.938 kB / 0.5486 GB, free: 14.05 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001332/0.1513, allocations: 197.2 kB / 0.5488 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.1514, allocations: 112.9 kB / 0.5489 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.661e-05/0.1515, allocations: 116.8 kB / 0.549 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.815e-05/0.1516, allocations: 180.2 kB / 0.5492 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.336e-05/0.1517, allocations: 180.3 kB / 0.5494 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.851e-05/0.1517, allocations: 184.2 kB / 0.5496 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003391/0.1521, allocations: 441.2 kB / 0.55 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-05/0.1521, allocations: 109 kB / 0.5501 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.823e-05/0.1522, allocations: 108.9 kB / 0.5502 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-05/0.1523, allocations: 176.3 kB / 0.5504 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.1524, allocations: 188.2 kB / 0.5505 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.354e-05/0.1525, allocations: 180.3 kB / 0.5507 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.922e-05/0.1525, allocations: 176.3 kB / 0.5509 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.1527, allocations: 315.7 kB / 0.5512 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.1529, allocations: 186 kB / 0.5514 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.153, allocations: 184.2 kB / 0.5515 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.1531, allocations: 109 kB / 0.5516 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.927e-05/0.1532, allocations: 180.2 kB / 0.5518 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/0.1532, allocations: 101 kB / 0.5519 GB, free: 10.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.169e-05/0.1533, allocations: 121.1 kB / 0.552 GB, free: 10.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1533, allocations: 0 / 0.552 GB, free: 10.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.1536, allocations: 15.95 kB / 0.552 GB, free: 10.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001479/0.1537, allocations: 178.5 kB / 0.5522 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.1538, allocations: 15.94 kB / 0.5522 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1538, allocations: 3.938 kB / 0.5522 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.1538, allocations: 0 / 0.5522 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.1543, allocations: 460.1 kB / 0.5527 GB, free: 9.684 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/0.1547, allocations: 254.5 kB / 0.5529 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.1551, allocations: 0.6922 MB / 0.5536 GB, free: 8.691 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.992e-05/0.1551, allocations: 7.984 kB / 0.5536 GB, free: 8.684 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.1551, allocations: 7.438 kB / 0.5536 GB, free: 8.676 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1551, allocations: 8 kB / 0.5536 GB, free: 8.668 MB / 414.1 MB Notification: Performance of Templates: time 0.002855/0.158, allocations: 416.4 kB / 0.554 GB, free: 8.266 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.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: 5.1809491869062185]