Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.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.001286/0.001286, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001467/0.001467, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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 1.491/1.491, allocations: 230.6 MB / 258.2 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2423/0.2423, allocations: 46.93 MB / 361.6 MB, free: 4.348 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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: 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.1.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.1.0_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002591/0.002591, allocations: 67.89 kB / 0.4974 GB, free: 7.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4174, allocations: 66.02 MB / 0.5619 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003169/0.4206, allocations: 1.751 MB / 0.5636 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001778/0.4208, allocations: 79.72 kB / 0.5636 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.292e-05/0.4208, allocations: 4 kB / 0.5636 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.408e-05/0.4209, allocations: 15.84 kB / 0.5637 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.308e-05/0.421, allocations: 19.8 kB / 0.5637 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.955e-05/0.4211, allocations: 23.97 kB / 0.5637 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.4212, allocations: 107.5 kB / 0.5638 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.4214, allocations: 45.08 kB / 0.5638 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.017e-05/0.4214, allocations: 43.86 kB / 0.5639 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.4216, allocations: 51.78 kB / 0.5639 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.4216, allocations: 8 kB / 0.5639 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.896e-05/0.4216, allocations: 12 kB / 0.564 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.215e-05/0.4216, allocations: 23.92 kB / 0.564 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.26e-05/0.4217, allocations: 47.8 kB / 0.564 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.4219, allocations: 125.9 kB / 0.5641 GB, free: 2.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.4219, allocations: 0 / 0.5641 GB, free: 2.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4219, allocations: 0 / 0.5641 GB, free: 2.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.4219, allocations: 0 / 0.5641 GB, free: 2.059 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.000538/0.4224, allocations: 326.2 kB / 0.5645 GB, free: 1.703 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.4225, allocations: 8.031 kB / 0.5645 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/0.4225, allocations: 12.84 kB / 0.5645 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.4227, allocations: 118.4 kB / 0.5646 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.4227, allocations: 12.61 kB / 0.5646 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.4227, allocations: 8.375 kB / 0.5646 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.4229, allocations: 125.6 kB / 0.5647 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.4229, allocations: 192 / 0.5647 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.423, allocations: 7.938 kB / 0.5647 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.423, allocations: 11.98 kB / 0.5647 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.4231, allocations: 63.92 kB / 0.5648 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009197/0.424, allocations: 0.6875 MB / 0.5655 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.4241, allocations: 177.1 kB / 0.5656 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.436e-05/0.4242, allocations: 80.14 kB / 0.5657 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.4242, allocations: 75.28 kB / 0.5658 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.673e-05/0.4243, allocations: 109.8 kB / 0.5659 GB, free: 104 kB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.4243, allocations: 0 / 0.5659 GB, free: 104 kB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.144e-05/0.4244, allocations: 33.64 kB / 0.5659 GB, free: 64 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.879e-05/0.4245, allocations: 130.7 kB / 0.5661 GB, free: 15.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.4246, allocations: 160.1 kB / 0.5662 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.4246, allocations: 25.7 kB / 0.5662 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.007e-05/0.4247, allocations: 119.8 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-06/0.4247, allocations: 0 / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.4248, allocations: 25.67 kB / 0.5664 GB, free: 15.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.4249, allocations: 322.8 kB / 0.5667 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.853e-05/0.4249, allocations: 8 kB / 0.5667 GB, free: 15.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.92e-05/0.425, allocations: 49.14 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.504e-05/0.4251, allocations: 53.03 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4251, allocations: 0 / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001583/0.4252, allocations: 73.56 kB / 0.5669 GB, free: 15.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4253, allocations: 4 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.4253, allocations: 4 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.4253, allocations: 3.984 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.219e-05/0.4254, allocations: 16.17 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.4254, allocations: 4 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.723e-05/0.4254, allocations: 11.89 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.4254, allocations: 7.938 kB / 0.5669 GB, free: 14.98 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.0001278/0.4256, allocations: 197.1 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.347e-05/0.4256, allocations: 110 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.481e-05/0.4257, allocations: 116.6 kB / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.644e-05/0.4258, allocations: 188.2 kB / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001021/0.4259, allocations: 180.3 kB / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.126e-05/0.426, allocations: 180.2 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.4263, allocations: 408.2 kB / 0.5682 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.541e-05/0.4264, allocations: 101 kB / 0.5683 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.036e-05/0.4264, allocations: 109 kB / 0.5684 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.721e-05/0.4265, allocations: 192.4 kB / 0.5686 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.981e-05/0.4266, allocations: 180.2 kB / 0.5688 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.763e-05/0.4267, allocations: 180.3 kB / 0.5689 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-05/0.4268, allocations: 180.3 kB / 0.5691 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.427, allocations: 319.6 kB / 0.5694 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.976e-05/0.427, allocations: 112.9 kB / 0.5695 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.422e-05/0.4271, allocations: 180.3 kB / 0.5697 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.4272, allocations: 109 kB / 0.5698 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.198e-05/0.4273, allocations: 184.1 kB / 0.57 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-05/0.4274, allocations: 109 kB / 0.5701 GB, free: 11.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.207e-05/0.4275, allocations: 107.2 kB / 0.5702 GB, free: 11.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4275, allocations: 3.938 kB / 0.5702 GB, free: 11.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.4277, allocations: 23.94 kB / 0.5702 GB, free: 11.38 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.0001297/0.4279, allocations: 171 kB / 0.5704 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.428, allocations: 15.94 kB / 0.5704 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.428, allocations: 4.375 kB / 0.5704 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.428, allocations: 7.938 kB / 0.5704 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.4284, allocations: 457.9 kB / 0.5708 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/0.4289, allocations: 268.5 kB / 0.5711 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.4292, allocations: 0.6963 MB / 0.5718 GB, free: 9.707 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.4293, allocations: 7.438 kB / 0.5718 GB, free: 9.699 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4293, allocations: 0 / 0.5718 GB, free: 9.699 MB / 414.1 MB Notification: Performance of Templates: time 0.002424/0.4317, allocations: 0.8522 MB / 0.5726 GB, free: 8.844 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 7.520504324929789]