Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002535/0.002535, allocations: 87.66 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002494/0.002494, allocations: 165.8 kB / 23.95 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2235/0.2235, allocations: 34.26 MB / 294.8 MB, free: 14.54 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 442.6 MB, free: 5.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.807e-05, allocations: 2.281 kB / 442.6 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002866/0.002894, allocations: 1.672 MB / 444.3 MB, free: 3.641 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001849/0.003079, allocations: 83.64 kB / 444.4 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.453e-05/0.003134, allocations: 4 kB / 444.4 MB, free: 3.555 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.192e-05/0.003185, allocations: 11.86 kB / 444.4 MB, free: 3.543 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.198e-05/0.003257, allocations: 27.77 kB / 444.4 MB, free: 3.516 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.692e-05/0.003334, allocations: 23.97 kB / 444.5 MB, free: 3.492 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.003487, allocations: 107.4 kB / 444.6 MB, free: 3.387 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.003649, allocations: 43.97 kB / 444.6 MB, free: 3.344 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.797e-05/0.003727, allocations: 63.88 kB / 444.7 MB, free: 3.281 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.158e-05/0.003809, allocations: 31.89 kB / 444.7 MB, free: 3.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.003845, allocations: 12 kB / 444.7 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.897e-05/0.003864, allocations: 8 kB / 444.7 MB, free: 3.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.13e-05/0.003895, allocations: 23.92 kB / 444.7 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.187e-05/0.003947, allocations: 39.91 kB / 444.8 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.004131, allocations: 119.6 kB / 444.9 MB, free: 3.051 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.004133, allocations: 4 kB / 444.9 MB, free: 3.047 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004134, allocations: 3.938 kB / 444.9 MB, free: 3.043 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.00414, allocations: 0 / 444.9 MB, free: 3.043 MB / 366.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.0005161/0.004656, allocations: 326.2 kB / 445.2 MB, free: 2.688 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.004696, allocations: 8.031 kB / 445.2 MB, free: 2.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.004734, allocations: 12.89 kB / 445.2 MB, free: 2.668 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.004864, allocations: 117.7 kB / 445.4 MB, free: 2.527 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.004879, allocations: 8.609 kB / 445.4 MB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.004903, allocations: 12.38 kB / 445.4 MB, free: 2.508 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.005133, allocations: 134.2 kB / 445.5 MB, free: 2.367 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.005143, allocations: 4.188 kB / 445.5 MB, free: 2.363 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.005155, allocations: 4.375 kB / 445.5 MB, free: 2.359 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.005162, allocations: 4.375 kB / 445.5 MB, free: 2.355 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.005282, allocations: 63.92 kB / 445.6 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007738/0.006056, allocations: 0.6299 MB / 446.2 MB, free: 1.613 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.928e-05/0.006156, allocations: 177 kB / 446.4 MB, free: 1.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.088e-05/0.006196, allocations: 80.14 kB / 446.5 MB, free: 1.348 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.006229, allocations: 79.28 kB / 446.5 MB, free: 1.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.441e-05/0.006283, allocations: 105.8 kB / 446.6 MB, free: 1.156 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.006284, allocations: 4 kB / 446.6 MB, free: 1.152 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.12e-05/0.006355, allocations: 29.7 kB / 446.7 MB, free: 1.117 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.006425, allocations: 130.6 kB / 446.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.006551, allocations: 133.7 kB / 446.9 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.006564, allocations: 25.7 kB / 447 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.427e-05/0.006648, allocations: 124 kB / 447.1 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.006651, allocations: 0 / 447.1 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.00669, allocations: 25.66 kB / 447.1 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.006823, allocations: 318.8 kB / 447.4 MB, free: 336 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.006839, allocations: 8 kB / 447.4 MB, free: 328 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.838e-05/0.006888, allocations: 45.14 kB / 447.5 MB, free: 264 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.868e-05/0.006956, allocations: 53.09 kB / 447.5 MB, free: 192 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.00696, allocations: 4.062 kB / 447.5 MB, free: 188 kB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001546/0.007114, allocations: 77.56 kB / 447.6 MB, free: 104 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.007127, allocations: 4 kB / 447.6 MB, free: 100 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.007133, allocations: 4 kB / 447.6 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.007151, allocations: 0 / 447.6 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.594e-05/0.007217, allocations: 11.94 kB / 447.6 MB, free: 84 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.007226, allocations: 7.984 kB / 447.6 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.421e-05/0.00727, allocations: 7.891 kB / 447.6 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.007274, allocations: 4 kB / 447.6 MB, free: 64 kB / 366.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.1737/0.181, allocations: 194.9 kB / 447.8 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.474e-05/0.1811, allocations: 112 kB / 447.9 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.1811, allocations: 106.6 kB / 448 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.362e-05/0.1811, allocations: 180.3 kB / 448.2 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.377e-05/0.1812, allocations: 182.8 kB / 448.4 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.137e-05/0.1812, allocations: 182.1 kB / 448.6 MB, free: 18.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.1813, allocations: 386.4 kB / 449 MB, free: 17.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/0.1813, allocations: 105.7 kB / 449.1 MB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.246e-05/0.1814, allocations: 103 kB / 449.2 MB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.187e-05/0.1814, allocations: 178 kB / 449.3 MB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.1814, allocations: 186.3 kB / 449.5 MB, free: 17.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-05/0.1814, allocations: 178.2 kB / 449.7 MB, free: 17.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.257e-05/0.1815, allocations: 180.8 kB / 449.9 MB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.543e-05/0.1815, allocations: 313.4 kB / 450.2 MB, free: 16.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.83e-05/0.1815, allocations: 113.1 kB / 450.3 MB, free: 16.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.1816, allocations: 178.9 kB / 450.5 MB, free: 16.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.382e-05/0.1816, allocations: 108.9 kB / 450.6 MB, free: 16.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.1817, allocations: 182.4 kB / 450.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.1817, allocations: 110.8 kB / 450.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.806e-05/0.1817, allocations: 94.78 kB / 450.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1817, allocations: 0 / 450.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002894/0.182, allocations: 20.48 kB / 451 MB, free: 15.76 MB / 366.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 9.721e-05/0.1821, allocations: 170.2 kB / 451.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.919e-05/0.1822, allocations: 22.62 kB / 451.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1822, allocations: 1.188 kB / 451.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.1822, allocations: 0 / 451.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.1825, allocations: 459.6 kB / 451.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003266/0.1828, allocations: 245.2 kB / 451.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.873e-05/0.1829, allocations: 86.17 kB / 451.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.017e-05/0.1829, allocations: 1.938 kB / 451.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.818e-05/0.1829, allocations: 9.562 kB / 451.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1829, allocations: 1.875 kB / 451.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of Templates: time 0.002685/0.1856, allocations: 274.3 kB / 452.2 MB, free: 14.83 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.913540538400412]