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.00102/0.00102, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001004/0.001004, allocations: 168.2 kB / 24.99 MB, free: 9.289 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 1.059/1.059, allocations: 177.1 MB / 205.3 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.3116/0.3116, allocations: 34.26 MB / 296 MB, free: 0.7656 MB / 266.7 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 2.004e-06/2.004e-06, allocations: 0 / 378 MB, free: 3.016 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.692e-05, allocations: 14.19 kB / 378 MB, free: 3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002144/0.002171, allocations: 1.753 MB / 379.7 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001932/0.002364, allocations: 71.72 kB / 379.8 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.286e-05/0.002437, allocations: 4 kB / 379.8 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.852e-05/0.002506, allocations: 27.78 kB / 379.8 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.216e-05/0.002588, allocations: 19.8 kB / 379.9 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001047/0.002692, allocations: 23.97 kB / 379.9 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.002828, allocations: 115.3 kB / 380 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002067/0.003034, allocations: 43.97 kB / 380 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.568e-05/0.00311, allocations: 59.89 kB / 380.1 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.003225, allocations: 31.89 kB / 380.1 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.324e-05/0.003258, allocations: 12 kB / 380.1 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.301e-05/0.003271, allocations: 8 kB / 380.1 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.015e-05/0.003301, allocations: 27.92 kB / 380.2 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.75e-05/0.003349, allocations: 39.91 kB / 380.2 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.003488, allocations: 75.73 kB / 380.3 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.003491, allocations: 0 / 380.3 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.003492, allocations: 0 / 380.3 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.003498, allocations: 0 / 380.3 MB, free: 0.6797 MB / 346.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.0004688/0.003966, allocations: 424.5 kB / 380.7 MB, free: 228 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.004015, allocations: 8.031 kB / 380.7 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.306e-05/0.004068, allocations: 20.89 kB / 380.7 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.004185, allocations: 124.4 kB / 380.9 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.004203, allocations: 12.61 kB / 380.9 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.004218, allocations: 12.38 kB / 380.9 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.004407, allocations: 123.2 kB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.004416, allocations: 192 / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.004434, allocations: 8.359 kB / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.004444, allocations: 4.375 kB / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.907e-05/0.004513, allocations: 35.92 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006834/0.005196, allocations: 0.8154 MB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.005304, allocations: 273.4 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.808e-05/0.005352, allocations: 126.9 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.104e-05/0.005394, allocations: 123.1 kB / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.404e-05/0.005458, allocations: 160.6 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.005459, allocations: 0 / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.503e-05/0.005524, allocations: 25.7 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/0.005586, allocations: 174.5 kB / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.005717, allocations: 189.8 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.005729, allocations: 25.7 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.168e-05/0.00581, allocations: 174.7 kB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.496e-06/0.005814, allocations: 0 / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.005852, allocations: 35.31 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.005995, allocations: 496.1 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.407e-05/0.006009, allocations: 3.938 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.139e-05/0.006051, allocations: 62.11 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.902e-05/0.00612, allocations: 62.06 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.006122, allocations: 4.125 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001564/0.006278, allocations: 77.5 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.006307, allocations: 8 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.006314, allocations: 0 / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.006334, allocations: 4 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.921e-05/0.006424, allocations: 15.92 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.006432, allocations: 0 / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.615e-05/0.006459, allocations: 4 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.006465, allocations: 4.188 kB / 383.9 MB, free: 12.81 MB / 362.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 0.0001272/0.006592, allocations: 279.7 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.656e-05/0.006659, allocations: 164.7 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.621e-05/0.006725, allocations: 156.3 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.989e-05/0.006815, allocations: 264.1 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001139/0.006929, allocations: 268 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.733e-05/0.007026, allocations: 268.1 kB / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.007295, allocations: 0.5115 MB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.436e-05/0.00735, allocations: 144.9 kB / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.409e-05/0.007404, allocations: 148.8 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001016/0.007506, allocations: 280 kB / 386.3 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-05/0.007598, allocations: 264.1 kB / 386.6 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.664e-05/0.007695, allocations: 272 kB / 386.8 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.58e-05/0.007791, allocations: 268.3 kB / 387.1 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.007995, allocations: 448 kB / 387.5 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-05/0.008064, allocations: 156.8 kB / 387.7 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.483e-05/0.008149, allocations: 268 kB / 387.9 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.643e-05/0.008226, allocations: 156.9 kB / 388.1 MB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.716e-05/0.008313, allocations: 272 kB / 388.4 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.261e-05/0.008355, allocations: 148.9 kB / 388.5 MB, free: 7.973 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.965e-05/0.008415, allocations: 135.2 kB / 388.6 MB, free: 7.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008415, allocations: 4 kB / 388.6 MB, free: 7.836 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001464/0.008561, allocations: 15.95 kB / 388.7 MB, free: 7.82 MB / 362.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 0.0001323/0.008694, allocations: 214.4 kB / 388.9 MB, free: 7.598 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.008798, allocations: 27.62 kB / 388.9 MB, free: 7.566 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.0088, allocations: 0 / 388.9 MB, free: 7.566 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.008801, allocations: 0 / 388.9 MB, free: 7.566 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.00916, allocations: 0.7061 MB / 389.6 MB, free: 6.855 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003627/0.009523, allocations: 308.8 kB / 389.9 MB, free: 6.527 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.159e-05/0.009574, allocations: 59.34 kB / 390 MB, free: 6.449 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.649e-05/0.009601, allocations: 0 / 390 MB, free: 6.449 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.009634, allocations: 12.5 kB / 390 MB, free: 6.438 MB / 362.7 MB Notification: Performance of SimCode: time 1.372e-06/0.009636, allocations: 0 / 390 MB, free: 6.438 MB / 362.7 MB Notification: Performance of Templates: time 0.002245/0.01188, allocations: 293.6 kB / 390.3 MB, free: 6.152 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2003366388380527]