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.001467/0.001467, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001676/0.001676, allocations: 205.5 kB / 23.73 MB, free: 4.379 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.533/1.533, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2488/0.2488, allocations: 46.95 MB / 360.9 MB, free: 4.031 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.002013/0.002013, allocations: 71.84 kB / 0.4966 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3612, allocations: 66.03 MB / 0.5611 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003792/0.365, allocations: 1.677 MB / 0.5627 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002259/0.3652, allocations: 75.72 kB / 0.5628 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.688e-05/0.3653, allocations: 0 / 0.5628 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.46e-05/0.3653, allocations: 23.84 kB / 0.5628 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.3654, allocations: 19.78 kB / 0.5628 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001133/0.3656, allocations: 23.98 kB / 0.5628 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.3657, allocations: 107.5 kB / 0.5629 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002652/0.366, allocations: 43.95 kB / 0.563 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.781e-05/0.3661, allocations: 35.92 kB / 0.563 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.3663, allocations: 51.77 kB / 0.5631 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.3663, allocations: 12 kB / 0.5631 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.486e-05/0.3663, allocations: 12 kB / 0.5631 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.302e-05/0.3664, allocations: 15.94 kB / 0.5631 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.162e-05/0.3664, allocations: 43.8 kB / 0.5631 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.3667, allocations: 125.9 kB / 0.5633 GB, free: 1.926 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.3667, allocations: 8 kB / 0.5633 GB, free: 1.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3667, allocations: 0 / 0.5633 GB, free: 1.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.3667, allocations: 0 / 0.5633 GB, free: 1.918 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.0005884/0.3673, allocations: 322.2 kB / 0.5636 GB, free: 1.566 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.3673, allocations: 8.031 kB / 0.5636 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.205e-05/0.3674, allocations: 16.83 kB / 0.5636 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.3675, allocations: 118.4 kB / 0.5637 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.3676, allocations: 4.609 kB / 0.5637 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.3676, allocations: 12.38 kB / 0.5637 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.3679, allocations: 129.6 kB / 0.5639 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.3679, allocations: 4.188 kB / 0.5639 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.3679, allocations: 7.938 kB / 0.5639 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.3679, allocations: 4 kB / 0.5639 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.3681, allocations: 63.92 kB / 0.5639 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008715/0.3689, allocations: 0.6296 MB / 0.5645 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.369, allocations: 169.1 kB / 0.5647 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.129e-05/0.3691, allocations: 84.08 kB / 0.5648 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.427e-05/0.3691, allocations: 79.28 kB / 0.5649 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.109e-05/0.3692, allocations: 109.8 kB / 0.565 GB, free: 36 kB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.3692, allocations: 0 / 0.565 GB, free: 36 kB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 9.472e-05/0.3693, allocations: 33.64 kB / 0.565 GB, free: 16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.543e-05/0.3694, allocations: 126.7 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.3695, allocations: 129.7 kB / 0.5652 GB, free: 15.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.3695, allocations: 29.7 kB / 0.5653 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.3696, allocations: 124 kB / 0.5654 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.051e-06/0.3696, allocations: 7.984 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.3697, allocations: 17.72 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.3699, allocations: 318.8 kB / 0.5657 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.3699, allocations: 8 kB / 0.5657 GB, free: 15.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.448e-05/0.3699, allocations: 45.14 kB / 0.5658 GB, free: 15.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.3701, allocations: 57.03 kB / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3701, allocations: 0 / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001581/0.3702, allocations: 73.59 kB / 0.5659 GB, free: 14.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.3702, allocations: 11.94 kB / 0.5659 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3702, allocations: 0 / 0.5659 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.3703, allocations: 4 kB / 0.5659 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.915e-05/0.3703, allocations: 11.98 kB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3704, allocations: 0 / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.413e-05/0.3704, allocations: 7.953 kB / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.3704, allocations: 4 kB / 0.5659 GB, free: 14.95 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.0001397/0.3705, allocations: 197 kB / 0.5661 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.232e-05/0.3706, allocations: 114.2 kB / 0.5662 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.268e-05/0.3707, allocations: 120.2 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000106/0.3708, allocations: 184.2 kB / 0.5665 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001001/0.3709, allocations: 176.3 kB / 0.5667 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.558e-05/0.371, allocations: 180.2 kB / 0.5669 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.3713, allocations: 384.8 kB / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-05/0.3714, allocations: 105.1 kB / 0.5673 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.38e-05/0.3714, allocations: 105.3 kB / 0.5674 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001094/0.3716, allocations: 180.4 kB / 0.5676 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-05/0.3717, allocations: 184.2 kB / 0.5678 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001028/0.3718, allocations: 180.3 kB / 0.5679 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000114/0.3719, allocations: 192.2 kB / 0.5681 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.3721, allocations: 311.6 kB / 0.5684 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.971e-05/0.3722, allocations: 112.9 kB / 0.5685 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.3723, allocations: 180.3 kB / 0.5687 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.3724, allocations: 101 kB / 0.5688 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.3725, allocations: 188.2 kB / 0.569 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.695e-05/0.3725, allocations: 101 kB / 0.5691 GB, free: 11.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.485e-05/0.3726, allocations: 91.28 kB / 0.5692 GB, free: 11.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3726, allocations: 0 / 0.5692 GB, free: 11.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002838/0.3729, allocations: 23.89 kB / 0.5692 GB, free: 11.42 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.0001524/0.3731, allocations: 174.5 kB / 0.5694 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.3732, allocations: 23.88 kB / 0.5694 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3732, allocations: 0 / 0.5694 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.3732, allocations: 0 / 0.5694 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.3736, allocations: 459.6 kB / 0.5698 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004672/0.3741, allocations: 246.8 kB / 0.5701 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.656e-05/0.3742, allocations: 85.64 kB / 0.5701 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.081e-05/0.3742, allocations: 7.984 kB / 0.5701 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.37e-05/0.3742, allocations: 7.438 kB / 0.5701 GB, free: 10.38 MB / 414.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3742, allocations: 0 / 0.5701 GB, free: 10.38 MB / 414.1 MB Notification: Performance of Templates: time 0.003031/0.3773, allocations: 385.5 kB / 0.5705 GB, free: 10.01 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins/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: 5.247633697930723]