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.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.0009257/0.0009257, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004041/0.004041, allocations: 158.6 kB / 24.7 MB, free: 8.898 MB / 18.57 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 0.885/0.885, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2366/0.2366, allocations: 32.79 MB / 294.2 MB, free: 1.188 MB / 266.7 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.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.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 1.603e-06/1.603e-06, allocations: 0 / 440.8 MB, free: 3.773 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/2.054e-05, allocations: 2.984 kB / 440.8 MB, free: 3.77 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.001793/0.001814, allocations: 1.675 MB / 442.5 MB, free: 2.082 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001351/0.001949, allocations: 75.73 kB / 442.6 MB, free: 2.008 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.125e-05/0.002, allocations: 0 / 442.6 MB, free: 2.008 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.223e-05/0.002053, allocations: 23.78 kB / 442.6 MB, free: 1.984 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.545e-05/0.002108, allocations: 27.7 kB / 442.6 MB, free: 1.957 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.874e-05/0.002187, allocations: 23.97 kB / 442.6 MB, free: 1.934 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.002291, allocations: 99.53 kB / 442.7 MB, free: 1.836 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.002428, allocations: 47.95 kB / 442.8 MB, free: 1.789 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.702e-05/0.002485, allocations: 67.86 kB / 442.9 MB, free: 1.723 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.698e-05/0.002552, allocations: 31.91 kB / 442.9 MB, free: 1.691 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.002576, allocations: 8 kB / 442.9 MB, free: 1.684 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.13e-05/0.002588, allocations: 12 kB / 442.9 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2e-05/0.002607, allocations: 19.97 kB / 442.9 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.002641, allocations: 39.91 kB / 443 MB, free: 1.613 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.002762, allocations: 119.6 kB / 443.1 MB, free: 1.496 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.002764, allocations: 0 / 443.1 MB, free: 1.496 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.002765, allocations: 0 / 443.1 MB, free: 1.496 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.002769, allocations: 0 / 443.1 MB, free: 1.496 MB / 410.7 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.0003555/0.003125, allocations: 330.2 kB / 443.4 MB, free: 1.137 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.00316, allocations: 8.031 kB / 443.4 MB, free: 1.129 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.003193, allocations: 12.84 kB / 443.4 MB, free: 1.117 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.003541, allocations: 121.6 kB / 443.5 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.003556, allocations: 12.61 kB / 443.6 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.003571, allocations: 12.38 kB / 443.6 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.003731, allocations: 121.6 kB / 443.7 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.00374, allocations: 4.125 kB / 443.7 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.003752, allocations: 8.312 kB / 443.7 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.003756, allocations: 8.375 kB / 443.7 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.272e-05/0.003839, allocations: 63.91 kB / 443.8 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005356/0.004375, allocations: 0.634 MB / 444.4 MB, free: 56 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1777/0.182, allocations: 168.9 kB / 444.6 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.373e-05/0.1821, allocations: 83.05 kB / 444.6 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.1821, allocations: 75.28 kB / 444.7 MB, free: 46.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.1821, allocations: 107.5 kB / 444.8 MB, free: 46.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.1821, allocations: 0 / 444.8 MB, free: 46.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 7.902e-05/0.1822, allocations: 31.2 kB / 444.9 MB, free: 46.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.1822, allocations: 135.5 kB / 445 MB, free: 46.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.861e-05/0.1823, allocations: 125.4 kB / 445.1 MB, free: 46.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.298e-06/0.1823, allocations: 25.7 kB / 445.1 MB, free: 46.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.588e-05/0.1824, allocations: 126.7 kB / 445.3 MB, free: 45.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-06/0.1824, allocations: 5.594 kB / 445.3 MB, free: 45.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.1824, allocations: 20.11 kB / 445.3 MB, free: 45.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.083e-05/0.1824, allocations: 318.6 kB / 445.6 MB, free: 45.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.214e-05/0.1824, allocations: 5.188 kB / 445.6 MB, free: 45.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.253e-05/0.1824, allocations: 42.06 kB / 445.6 MB, free: 45.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.65e-05/0.1825, allocations: 61.33 kB / 445.7 MB, free: 45.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1825, allocations: 0 / 445.7 MB, free: 45.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001034/0.1826, allocations: 72.89 kB / 445.8 MB, free: 45.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1826, allocations: 7 kB / 445.8 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1826, allocations: 2.969 kB / 445.8 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1826, allocations: 0 / 445.8 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.059e-05/0.1827, allocations: 14.64 kB / 445.8 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1827, allocations: 6.5 kB / 445.8 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.767e-05/0.1827, allocations: 10.64 kB / 445.8 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.1827, allocations: 3.469 kB / 445.8 MB, free: 45.46 MB / 410.7 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 5.245e-05/0.1828, allocations: 196 kB / 446 MB, free: 45.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.859e-05/0.1828, allocations: 109.8 kB / 446.1 MB, free: 45.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.995e-05/0.1828, allocations: 115.7 kB / 446.2 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.1828, allocations: 183.3 kB / 446.4 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.701e-05/0.1829, allocations: 183.5 kB / 446.6 MB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.1829, allocations: 180 kB / 446.8 MB, free: 44.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.487e-05/0.183, allocations: 380.1 kB / 447.1 MB, free: 44.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.183, allocations: 108.2 kB / 447.2 MB, free: 44.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.917e-06/0.183, allocations: 103.9 kB / 447.3 MB, free: 43.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-05/0.183, allocations: 184.2 kB / 447.5 MB, free: 43.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.183, allocations: 183.7 kB / 447.7 MB, free: 43.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-05/0.183, allocations: 176.3 kB / 447.9 MB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.416e-05/0.183, allocations: 183.8 kB / 448.1 MB, free: 43.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.582e-05/0.1831, allocations: 310.2 kB / 448.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.157e-05/0.1831, allocations: 109 kB / 448.5 MB, free: 42.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.1831, allocations: 179 kB / 448.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.739e-05/0.1832, allocations: 109.2 kB / 448.7 MB, free: 42.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.1832, allocations: 179.7 kB / 448.9 MB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.1832, allocations: 106.7 kB / 449 MB, free: 42.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.731e-05/0.1832, allocations: 94.94 kB / 449.1 MB, free: 42.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1832, allocations: 3.062 kB / 449.1 MB, free: 42.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001602/0.1834, allocations: 21.67 kB / 449.1 MB, free: 42.11 MB / 410.7 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 6.137e-05/0.1834, allocations: 170.2 kB / 449.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.52e-05/0.1835, allocations: 20.59 kB / 449.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.1835, allocations: 0 / 449.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.1835, allocations: 4.5 kB / 449.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.1837, allocations: 462 kB / 449.8 MB, free: 41.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002592/0.1839, allocations: 267.5 kB / 450 MB, free: 41.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.717e-05/0.184, allocations: 82.86 kB / 450.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.843e-05/0.184, allocations: 8.5 kB / 450.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.184, allocations: 5.031 kB / 450.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of Templates: time 0.001414/0.1854, allocations: 0.8125 MB / 450.9 MB, free: 41.14 MB / 410.7 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: 4.5906919641420245]