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.000991/0.000991, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001746/0.001746, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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 1.001/1.001, allocations: 177 MB / 204.8 MB, free: 5.586 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.2586/0.2586, allocations: 34.86 MB / 296.3 MB, free: 0.5508 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.683e-06/1.683e-06, allocations: 0 / 378.7 MB, free: 2.137 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.509e-05, allocations: 6.875 kB / 378.7 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002136/0.002161, allocations: 1.752 MB / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001271/0.002288, allocations: 75.72 kB / 380.6 MB, free: 292 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.197e-05/0.00234, allocations: 4 kB / 380.6 MB, free: 288 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.617e-05/0.002396, allocations: 19.84 kB / 380.6 MB, free: 268 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.683e-05/0.002463, allocations: 27.72 kB / 380.6 MB, free: 240 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.584e-05/0.002539, allocations: 23.97 kB / 380.6 MB, free: 216 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.002641, allocations: 107.4 kB / 380.7 MB, free: 108 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.002777, allocations: 43.97 kB / 380.8 MB, free: 64 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.703e-05/0.002834, allocations: 63.88 kB / 380.8 MB, free: 0 / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.132e-05/0.002925, allocations: 32.02 kB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.002951, allocations: 12 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.196e-05/0.002963, allocations: 8 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.002985, allocations: 23.92 kB / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.003022, allocations: 43.91 kB / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.00313, allocations: 71.75 kB / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.003132, allocations: 0 / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.003133, allocations: 0 / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.003137, allocations: 0 / 381 MB, free: 15.81 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.0003812/0.003518, allocations: 432.5 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.003556, allocations: 8.031 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.003598, allocations: 16.89 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.65e-05/0.003694, allocations: 124.5 kB / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.003712, allocations: 4.609 kB / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.003727, allocations: 16.38 kB / 381.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.003883, allocations: 119.2 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.003892, allocations: 192 / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.003904, allocations: 4.375 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.567e-06/0.003912, allocations: 8.312 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.552e-05/0.003978, allocations: 43.03 kB / 381.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005966/0.004575, allocations: 0.8114 MB / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.681e-05/0.004661, allocations: 273.4 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.315e-05/0.004694, allocations: 130.9 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.004721, allocations: 123.2 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.577e-05/0.004767, allocations: 160.6 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.004768, allocations: 3.938 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.238e-05/0.004821, allocations: 25.7 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.004874, allocations: 174.6 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.004977, allocations: 181.8 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.153e-06/0.004984, allocations: 25.7 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.971e-05/0.005054, allocations: 178.7 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.305e-06/0.005056, allocations: 3.938 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.005087, allocations: 27.33 kB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.005196, allocations: 0.4884 MB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.005209, allocations: 3.984 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.236e-05/0.005241, allocations: 66.06 kB / 384.4 MB, free: 12.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.533e-05/0.005296, allocations: 62.06 kB / 384.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.005299, allocations: 0 / 384.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001107/0.005409, allocations: 77.5 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.005424, allocations: 11.98 kB / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.005429, allocations: 0 / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.005443, allocations: 4 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.614e-05/0.005499, allocations: 8 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.005505, allocations: 3.938 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.198e-05/0.005527, allocations: 4 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.005533, allocations: 4 kB / 384.6 MB, free: 11.95 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.0001011/0.005634, allocations: 283.9 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/0.005693, allocations: 160.8 kB / 385 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.574e-05/0.005739, allocations: 156.3 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.37e-05/0.005802, allocations: 264.1 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.857e-05/0.005871, allocations: 268 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-05/0.005942, allocations: 272.1 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.006131, allocations: 0.5038 MB / 386.5 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.272e-05/0.006174, allocations: 152.8 kB / 386.6 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.749e-05/0.006211, allocations: 148.8 kB / 386.8 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.744e-05/0.006279, allocations: 272 kB / 387.1 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.365e-05/0.006352, allocations: 268.1 kB / 387.3 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.821e-05/0.006421, allocations: 272.1 kB / 387.6 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.047e-05/0.006491, allocations: 268 kB / 387.8 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.006675, allocations: 444.2 kB / 388.3 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.709e-05/0.006732, allocations: 168.8 kB / 388.4 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.276e-05/0.006815, allocations: 268.1 kB / 388.7 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.136e-05/0.006886, allocations: 152.8 kB / 388.9 MB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.987e-05/0.006966, allocations: 264.1 kB / 389.1 MB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.814e-05/0.007004, allocations: 148.8 kB / 389.3 MB, free: 7.109 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.187e-05/0.007056, allocations: 139.2 kB / 389.4 MB, free: 6.973 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007056, allocations: 0 / 389.4 MB, free: 6.973 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000163/0.007219, allocations: 23.89 kB / 389.4 MB, free: 6.949 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.925e-05/0.007318, allocations: 210.4 kB / 389.6 MB, free: 6.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.772e-05/0.007406, allocations: 27.73 kB / 389.6 MB, free: 6.699 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.007407, allocations: 4 kB / 389.6 MB, free: 6.695 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.62e-07/0.007408, allocations: 0 / 389.6 MB, free: 6.695 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.007733, allocations: 0.6984 MB / 390.3 MB, free: 5.992 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.008123, allocations: 305.5 kB / 390.6 MB, free: 5.668 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.403e-05/0.008167, allocations: 63.34 kB / 390.7 MB, free: 5.586 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.526e-05/0.008192, allocations: 7.891 kB / 390.7 MB, free: 5.578 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.008222, allocations: 12.5 kB / 390.7 MB, free: 5.566 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.008223, allocations: 0 / 390.7 MB, free: 5.566 MB / 362.7 MB Notification: Performance of Templates: time 0.001834/0.01006, allocations: 292.9 kB / 391 MB, free: 5.281 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.951609681826085]