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.0008665/0.0008665, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001388/0.002254, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.000717/0.000717, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009083/0.001625, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9899/0.9899, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09307/1.083, allocations: 53.86 MB / 243.8 MB, free: 14.91 MB / 250.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.2696/0.2696, allocations: 34.87 MB / 279.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04254/0.3121, allocations: 13.23 MB / 292.6 MB, free: 6.465 MB / 282.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.453e-06/1.453e-06, allocations: 0 / 293.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.713e-05/1.859e-05, allocations: 3.953 kB / 293.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002827/0.002846, allocations: 1.785 MB / 295.6 MB, free: 3.41 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001922/0.003038, allocations: 79.66 kB / 295.7 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.851e-05/0.003097, allocations: 8 kB / 295.7 MB, free: 3.324 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.741e-05/0.003154, allocations: 19.78 kB / 295.7 MB, free: 3.305 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.045e-05/0.003215, allocations: 23.78 kB / 295.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.337e-05/0.003288, allocations: 27.95 kB / 295.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.003414, allocations: 95.55 kB / 295.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.003558, allocations: 48.69 kB / 295.9 MB, free: 3.113 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.078e-05/0.003649, allocations: 63.89 kB / 296 MB, free: 3.051 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.8e-05/0.003737, allocations: 35.89 kB / 296 MB, free: 3.016 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.003762, allocations: 12 kB / 296 MB, free: 3.004 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.558e-05/0.003777, allocations: 8 kB / 296 MB, free: 2.996 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.348e-05/0.003801, allocations: 23.94 kB / 296.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/0.003844, allocations: 31.94 kB / 296.1 MB, free: 2.941 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.003975, allocations: 67.75 kB / 296.2 MB, free: 2.875 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.5e-05/0.00399, allocations: 0 / 296.2 MB, free: 2.875 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.003991, allocations: 3.938 kB / 296.2 MB, free: 2.871 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.004008, allocations: 0 / 296.2 MB, free: 2.871 MB / 282.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.000493/0.004501, allocations: 321.7 kB / 296.5 MB, free: 2.527 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.004542, allocations: 12.92 kB / 296.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.004582, allocations: 16.92 kB / 296.5 MB, free: 2.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.282e-05/0.004674, allocations: 113.7 kB / 296.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.004692, allocations: 20.59 kB / 296.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.004706, allocations: 8.375 kB / 296.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.004851, allocations: 109.5 kB / 296.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.00486, allocations: 4.125 kB / 296.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.004871, allocations: 8.375 kB / 296.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.004879, allocations: 4.375 kB / 296.8 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.614e-05/0.004935, allocations: 27.92 kB / 296.8 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000569/0.005504, allocations: 0.5633 MB / 297.4 MB, free: 1.578 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.395e-05/0.005578, allocations: 169.1 kB / 297.5 MB, free: 1.402 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.55e-05/0.005604, allocations: 84.14 kB / 297.6 MB, free: 1.316 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.005628, allocations: 75.28 kB / 297.7 MB, free: 1.242 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.005671, allocations: 113.7 kB / 297.8 MB, free: 1.121 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.005672, allocations: 0 / 297.8 MB, free: 1.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 5.513e-05/0.005727, allocations: 29.7 kB / 297.8 MB, free: 1.086 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.005784, allocations: 126.7 kB / 298 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.719e-05/0.005871, allocations: 131.7 kB / 298.1 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.005881, allocations: 29.7 kB / 298.1 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/0.005939, allocations: 124 kB / 298.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.322e-06/0.005945, allocations: 8 kB / 298.2 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.005976, allocations: 21.66 kB / 298.3 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.046e-05/0.006067, allocations: 314.8 kB / 298.6 MB, free: 304 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-06/0.006076, allocations: 4 kB / 298.6 MB, free: 300 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.821e-05/0.006115, allocations: 49.2 kB / 298.6 MB, free: 232 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.208e-05/0.006167, allocations: 53.08 kB / 298.7 MB, free: 160 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.006168, allocations: 0 / 298.7 MB, free: 160 kB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001037/0.006272, allocations: 69.48 kB / 298.7 MB, free: 84 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.006284, allocations: 4 kB / 298.7 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.00629, allocations: 4 kB / 298.7 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.699e-06/0.006299, allocations: 0 / 298.7 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.065e-05/0.00636, allocations: 15.94 kB / 298.8 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.006363, allocations: 3.938 kB / 298.8 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.49e-05/0.006398, allocations: 8.125 kB / 298.8 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-06/0.006405, allocations: 11.98 kB / 298.8 MB, free: 36 kB / 282.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.178e-05/0.006496, allocations: 185.1 kB / 299 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.389e-05/0.00655, allocations: 112.9 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.587e-05/0.006596, allocations: 112.4 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.354e-05/0.00666, allocations: 176.3 kB / 299.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.129e-05/0.006721, allocations: 180.2 kB / 299.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.013e-05/0.006781, allocations: 184.2 kB / 299.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.00698, allocations: 333.5 kB / 300 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.619e-05/0.007016, allocations: 109 kB / 300.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-05/0.007053, allocations: 101 kB / 300.2 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.0071, allocations: 112.9 kB / 300.4 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.235e-05/0.007163, allocations: 192.2 kB / 300.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.872e-05/0.007221, allocations: 176.3 kB / 300.7 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.184e-05/0.007283, allocations: 180.2 kB / 300.9 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.98e-05/0.007343, allocations: 180.3 kB / 301.1 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.007469, allocations: 307.8 kB / 301.4 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.936e-05/0.007538, allocations: 184.2 kB / 301.5 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.007614, allocations: 104.9 kB / 301.6 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.007665, allocations: 176.3 kB / 301.8 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.007698, allocations: 112.9 kB / 301.9 MB, free: 12.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.274e-05/0.007721, allocations: 17.8 kB / 301.9 MB, free: 12.69 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007721, allocations: 0 / 301.9 MB, free: 12.69 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002164/0.007937, allocations: 19.89 kB / 302 MB, free: 12.67 MB / 298.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 8.914e-05/0.008026, allocations: 151.7 kB / 302.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.959e-05/0.008086, allocations: 28.77 kB / 302.1 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.00809, allocations: 0 / 302.1 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.51e-07/0.008091, allocations: 0 / 302.1 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.008353, allocations: 466.6 kB / 302.6 MB, free: 12.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005867/0.00894, allocations: 252.9 kB / 302.8 MB, free: 11.76 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.771e-05/0.008977, allocations: 63.34 kB / 302.9 MB, free: 11.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.882e-05/0.008996, allocations: 3.938 kB / 302.9 MB, free: 11.67 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.009028, allocations: 51.38 kB / 303 MB, free: 11.62 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.009028, allocations: 0 / 303 MB, free: 11.62 MB / 298.7 MB Notification: Performance of Templates: time 0.001898/0.01093, allocations: 317.7 kB / 303.3 MB, free: 11.32 MB / 298.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 -ignoreHideResult -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.728335409425199]