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.00178/0.00178, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001516/0.001516, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.48/1.48, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.219/0.219, allocations: 46.96 MB / 361.6 MB, free: 4.113 MB / 286.1 MB " [Timeout remaining time 180] 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.002037/0.002037, allocations: 63.91 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3183, allocations: 66.03 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003031/0.3214, allocations: 1.678 MB / 0.5634 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001684/0.3215, allocations: 71.73 kB / 0.5635 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.74e-05/0.3216, allocations: 4 kB / 0.5635 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.021e-05/0.3217, allocations: 11.86 kB / 0.5635 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.366e-05/0.3217, allocations: 27.77 kB / 0.5635 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.654e-05/0.3218, allocations: 19.97 kB / 0.5636 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.322, allocations: 111.5 kB / 0.5637 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.3221, allocations: 39.16 kB / 0.5637 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.069e-05/0.3222, allocations: 47.86 kB / 0.5637 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.627e-05/0.3223, allocations: 47.78 kB / 0.5638 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.3223, allocations: 8 kB / 0.5638 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.961e-05/0.3223, allocations: 12 kB / 0.5638 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.31e-05/0.3224, allocations: 27.91 kB / 0.5638 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.138e-05/0.3224, allocations: 39.86 kB / 0.5639 GB, free: 2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.3226, allocations: 122 kB / 0.564 GB, free: 1.887 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3226, allocations: 0 / 0.564 GB, free: 1.887 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3226, allocations: 0 / 0.564 GB, free: 1.887 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.3226, allocations: 0 / 0.564 GB, free: 1.887 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.0005187/0.3231, allocations: 326.2 kB / 0.5643 GB, free: 1.531 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3232, allocations: 8.031 kB / 0.5643 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.99e-05/0.3232, allocations: 20.84 kB / 0.5643 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.3234, allocations: 126.4 kB / 0.5645 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.3234, allocations: 8.609 kB / 0.5645 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.3234, allocations: 8.375 kB / 0.5645 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.3237, allocations: 121.6 kB / 0.5646 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3237, allocations: 192 / 0.5646 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.3237, allocations: 11.94 kB / 0.5646 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.3237, allocations: 0 / 0.5646 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.3239, allocations: 71.91 kB / 0.5647 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008485/0.3247, allocations: 0.6257 MB / 0.5653 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.966e-05/0.3248, allocations: 173.1 kB / 0.5654 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.905e-05/0.3248, allocations: 80.14 kB / 0.5655 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.3249, allocations: 79.22 kB / 0.5656 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.946e-05/0.3249, allocations: 105.8 kB / 0.5657 GB, free: 0 / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.3249, allocations: 0 / 0.5657 GB, free: 0 / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.421e-05/0.325, allocations: 37.73 kB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.3251, allocations: 134.6 kB / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.3252, allocations: 133.7 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.3252, allocations: 25.7 kB / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.244e-05/0.3253, allocations: 131.9 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.3253, allocations: 0 / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.3253, allocations: 17.72 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3255, allocations: 326.8 kB / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.853e-05/0.3255, allocations: 4 kB / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.592e-05/0.3255, allocations: 45.14 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.415e-05/0.3256, allocations: 57.03 kB / 0.5666 GB, free: 15.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3256, allocations: 4 kB / 0.5666 GB, free: 15.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00015/0.3258, allocations: 69.56 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3258, allocations: 4 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3258, allocations: 4 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3258, allocations: 4.188 kB / 0.5666 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.832e-05/0.3259, allocations: 8 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.3259, allocations: 4 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.3259, allocations: 7.938 kB / 0.5667 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.3259, allocations: 4 kB / 0.5667 GB, free: 14.9 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.0001237/0.326, allocations: 197 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-05/0.3261, allocations: 114 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.684e-05/0.3262, allocations: 112.2 kB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.453e-05/0.3263, allocations: 180.2 kB / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-05/0.3263, allocations: 180.2 kB / 0.5674 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.221e-05/0.3264, allocations: 188.2 kB / 0.5676 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.3267, allocations: 380.8 kB / 0.568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.184e-05/0.3267, allocations: 101 kB / 0.5681 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.92e-05/0.3268, allocations: 104.9 kB / 0.5682 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.65e-05/0.3269, allocations: 180.6 kB / 0.5683 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.348e-05/0.3269, allocations: 184.2 kB / 0.5685 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.733e-05/0.327, allocations: 188.3 kB / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.613e-05/0.3271, allocations: 184.2 kB / 0.5689 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.3273, allocations: 308 kB / 0.5692 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.025e-05/0.3273, allocations: 116.9 kB / 0.5693 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.806e-05/0.3274, allocations: 180.3 kB / 0.5694 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.684e-05/0.3275, allocations: 109 kB / 0.5695 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.926e-05/0.3276, allocations: 184.1 kB / 0.5697 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-05/0.3277, allocations: 101 kB / 0.5698 GB, free: 11.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.391e-05/0.3277, allocations: 99.27 kB / 0.5699 GB, free: 11.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3277, allocations: 0 / 0.5699 GB, free: 11.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.328, allocations: 19.89 kB / 0.5699 GB, free: 11.37 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.0001288/0.3281, allocations: 170.5 kB / 0.5701 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.144e-05/0.3282, allocations: 24.11 kB / 0.5701 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3282, allocations: 4.125 kB / 0.5701 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.3282, allocations: 0 / 0.5701 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.3286, allocations: 459.6 kB / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004118/0.329, allocations: 254.6 kB / 0.5708 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.199e-05/0.3291, allocations: 77.33 kB / 0.5709 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.906e-05/0.3291, allocations: 0 / 0.5709 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.241e-05/0.3291, allocations: 11.44 kB / 0.5709 GB, free: 10.34 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3291, allocations: 0 / 0.5709 GB, free: 10.34 MB / 414.1 MB Notification: Performance of Templates: time 0.002544/0.3317, allocations: 381.4 kB / 0.5712 GB, free: 9.969 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 -s gbode -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: 4.959331414007465]