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.001031/0.001031, allocations: 85.8 kB / 21.42 MB, free: 3.07 MB / 18.57 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.0009659/0.0009659, allocations: 158.3 kB / 24.82 MB, free: 8.766 MB / 18.57 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 0.9736/0.9736, allocations: 177 MB / 205.1 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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.2731/0.2731, allocations: 34.86 MB / 296.6 MB, free: 0.5 MB / 266.7 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.403e-06/1.403e-06, allocations: 0 / 379.2 MB, free: 1.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.089e-05, allocations: 10.25 kB / 379.2 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002596/0.002617, allocations: 1.736 MB / 380.9 MB, free: 112 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001826/0.002799, allocations: 75.72 kB / 381 MB, free: 36 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.763e-05/0.002857, allocations: 4 kB / 381 MB, free: 32 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.711e-05/0.002914, allocations: 23.78 kB / 381 MB, free: 8 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.066e-05/0.003005, allocations: 15.92 kB / 381.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.156e-05/0.003086, allocations: 23.97 kB / 381.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.003205, allocations: 115.4 kB / 381.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.003335, allocations: 39.97 kB / 381.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.509e-05/0.00341, allocations: 63.89 kB / 381.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.532e-05/0.003496, allocations: 35.88 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.003517, allocations: 12 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.457e-05/0.003531, allocations: 8 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.715e-05/0.003559, allocations: 27.92 kB / 381.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.134e-05/0.0036, allocations: 31.92 kB / 381.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.003721, allocations: 79.73 kB / 381.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.003723, allocations: 0 / 381.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003723, allocations: 0 / 381.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.945e-06/0.003726, allocations: 0 / 381.5 MB, free: 15.56 MB / 362.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.0003901/0.004116, allocations: 424.5 kB / 381.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.004157, allocations: 8.031 kB / 381.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.004199, allocations: 24.88 kB / 381.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.877e-05/0.004287, allocations: 128.4 kB / 382.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.004303, allocations: 12.61 kB / 382.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.004318, allocations: 12.38 kB / 382.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.004466, allocations: 115.1 kB / 382.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.004474, allocations: 192 / 382.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.004483, allocations: 384 / 382.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.004492, allocations: 4.375 kB / 382.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.621e-05/0.004549, allocations: 31.3 kB / 382.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005926/0.005141, allocations: 0.7925 MB / 383 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.999e-05/0.005231, allocations: 277.4 kB / 383.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.72e-05/0.005268, allocations: 130.8 kB / 383.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.005301, allocations: 127.1 kB / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.021e-05/0.005351, allocations: 160.5 kB / 383.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.005352, allocations: 0 / 383.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.702e-05/0.005409, allocations: 29.7 kB / 383.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.005463, allocations: 170.6 kB / 383.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.005566, allocations: 181.8 kB / 384.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.258e-06/0.005575, allocations: 25.7 kB / 384.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.604e-05/0.005651, allocations: 178.7 kB / 384.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.744e-06/0.005653, allocations: 4 kB / 384.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.005687, allocations: 27.33 kB / 384.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.00582, allocations: 0.4883 MB / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.057e-05/0.00583, allocations: 3.984 kB / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.151e-05/0.005872, allocations: 62.11 kB / 384.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.819e-05/0.00593, allocations: 58.06 kB / 384.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.005932, allocations: 4 kB / 384.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001152/0.006047, allocations: 69.5 kB / 385 MB, free: 11.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.00606, allocations: 4 kB / 385 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.006066, allocations: 4 kB / 385 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.006078, allocations: 3.984 kB / 385 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.626e-05/0.006135, allocations: 15.94 kB / 385 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-06/0.006137, allocations: 4 kB / 385 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.439e-05/0.006172, allocations: 4.188 kB / 385 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.006176, allocations: 4 kB / 385 MB, free: 11.74 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 9.823e-05/0.006274, allocations: 279.7 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.566e-05/0.00634, allocations: 160.7 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.13e-05/0.006391, allocations: 156.3 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.779e-05/0.006459, allocations: 268.1 kB / 385.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-05/0.006529, allocations: 268 kB / 386.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-05/0.006594, allocations: 264.1 kB / 386.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.006815, allocations: 0.4887 MB / 386.9 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.059e-05/0.006856, allocations: 148.9 kB / 387 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.713e-05/0.006893, allocations: 144.9 kB / 387.2 MB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.969e-05/0.006963, allocations: 280 kB / 387.4 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.032e-05/0.007033, allocations: 268.1 kB / 387.7 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.838e-05/0.007101, allocations: 272 kB / 388 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.666e-05/0.007168, allocations: 272.1 kB / 388.2 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.007305, allocations: 440.2 kB / 388.7 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.439e-05/0.007359, allocations: 164.8 kB / 388.8 MB, free: 7.785 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.818e-05/0.007437, allocations: 279.9 kB / 389.1 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.222e-05/0.00752, allocations: 144.9 kB / 389.2 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.06e-05/0.00759, allocations: 272 kB / 389.5 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.007626, allocations: 144.9 kB / 389.6 MB, free: 6.934 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.451e-05/0.00768, allocations: 139.2 kB / 389.8 MB, free: 6.797 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00768, allocations: 0 / 389.8 MB, free: 6.797 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002612/0.007942, allocations: 15.95 kB / 389.8 MB, free: 6.781 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 9.917e-05/0.008041, allocations: 214.4 kB / 390 MB, free: 6.559 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.626e-05/0.008107, allocations: 27.61 kB / 390 MB, free: 6.527 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.008108, allocations: 0 / 390 MB, free: 6.527 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.183e-06/0.008109, allocations: 0 / 390 MB, free: 6.527 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.008497, allocations: 0.7065 MB / 390.7 MB, free: 5.816 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002923/0.008789, allocations: 300.5 kB / 391 MB, free: 5.496 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.945e-05/0.008829, allocations: 59.34 kB / 391.1 MB, free: 5.418 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.297e-05/0.008852, allocations: 11.89 kB / 391.1 MB, free: 5.406 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.008885, allocations: 66.2 kB / 391.2 MB, free: 5.34 MB / 362.7 MB Notification: Performance of SimCode: time 4.8e-07/0.008885, allocations: 0 / 391.2 MB, free: 5.34 MB / 362.7 MB Notification: Performance of Templates: time 0.001902/0.01079, allocations: 311.1 kB / 391.5 MB, free: 5.039 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9336200659163296]