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.0008175/0.0008175, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001212/0.00203, allocations: 457.8 kB / 10.45 MB, free: 244 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.0007581/0.0007581, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009933/0.001751, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9764/0.9764, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09653/1.073, allocations: 53.87 MB / 243.9 MB, free: 14.85 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.3114/0.3114, allocations: 34.88 MB / 279.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0256/0.337, allocations: 13.23 MB / 292.8 MB, free: 6.391 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.904e-06/1.904e-06, allocations: 0 / 294.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.491e-05, allocations: 3.516 kB / 294.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.005599/0.005624, allocations: 1.803 MB / 295.9 MB, free: 3.297 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001471/0.005771, allocations: 75.66 kB / 296 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.135e-05/0.005812, allocations: 4 kB / 296 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.74e-05/0.005859, allocations: 15.86 kB / 296 MB, free: 3.203 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.798e-05/0.005907, allocations: 27.66 kB / 296 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.411e-05/0.005962, allocations: 23.97 kB / 296 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.006072, allocations: 111.5 kB / 296.1 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.006183, allocations: 35.97 kB / 296.2 MB, free: 3.008 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.033e-05/0.006264, allocations: 75.86 kB / 296.2 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.336e-05/0.006347, allocations: 35.89 kB / 296.3 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.006373, allocations: 12 kB / 296.3 MB, free: 2.887 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.449e-05/0.006388, allocations: 8 kB / 296.3 MB, free: 2.879 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.006412, allocations: 19.94 kB / 296.3 MB, free: 2.859 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.814e-05/0.00645, allocations: 31.94 kB / 296.3 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.00657, allocations: 63.77 kB / 296.4 MB, free: 2.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/0.006581, allocations: 0 / 296.4 MB, free: 2.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.006582, allocations: 0 / 296.4 MB, free: 2.766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.006591, allocations: 4 kB / 296.4 MB, free: 2.762 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.0003784/0.006969, allocations: 325.7 kB / 296.7 MB, free: 2.414 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.007002, allocations: 11.44 kB / 296.7 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.007038, allocations: 16.92 kB / 296.8 MB, free: 2.391 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.779e-05/0.007126, allocations: 113.7 kB / 296.9 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.007138, allocations: 12.61 kB / 296.9 MB, free: 2.242 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.007155, allocations: 12.38 kB / 296.9 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.007285, allocations: 105.5 kB / 297 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.007293, allocations: 192 / 297 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.007302, allocations: 4.375 kB / 297 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.007311, allocations: 8.375 kB / 297 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.669e-05/0.007357, allocations: 34.86 kB / 297 MB, free: 2.074 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.007859, allocations: 0.5594 MB / 297.6 MB, free: 1.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.577e-05/0.007925, allocations: 173.1 kB / 297.8 MB, free: 1.301 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.347e-05/0.007949, allocations: 84.12 kB / 297.9 MB, free: 1.215 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.007968, allocations: 75.28 kB / 297.9 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.008004, allocations: 109.8 kB / 298 MB, free: 1.023 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.008005, allocations: 0 / 298 MB, free: 1.023 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 5.842e-05/0.008063, allocations: 37.64 kB / 298.1 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.008104, allocations: 126.7 kB / 298.2 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.897e-05/0.008193, allocations: 134.6 kB / 298.3 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.008201, allocations: 25.7 kB / 298.4 MB, free: 0.668 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/0.008258, allocations: 132 kB / 298.5 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/0.008261, allocations: 0 / 298.5 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.008293, allocations: 25.61 kB / 298.5 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.003091/0.01138, allocations: 314.8 kB / 298.8 MB, free: 192 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.0114, allocations: 4 kB / 298.8 MB, free: 188 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.832e-05/0.01142, allocations: 41.14 kB / 298.9 MB, free: 128 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.398e-05/0.01148, allocations: 57.02 kB / 298.9 MB, free: 52 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01148, allocations: 0 / 298.9 MB, free: 52 kB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001146/0.01159, allocations: 69.48 kB / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.01161, allocations: 11 kB / 299 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01161, allocations: 4 kB / 299 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.01163, allocations: 0 / 299 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.943e-05/0.01169, allocations: 12 kB / 299 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.01169, allocations: 0 / 299 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.328e-05/0.01172, allocations: 11.88 kB / 299 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.01173, allocations: 4 kB / 299 MB, free: 15.94 MB / 298.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 7.142e-05/0.0118, allocations: 185.1 kB / 299.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.733e-05/0.01185, allocations: 116.9 kB / 299.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.982e-05/0.01189, allocations: 112.4 kB / 299.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.25e-05/0.01193, allocations: 176.3 kB / 299.6 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-05/0.01197, allocations: 180.3 kB / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.931e-05/0.01202, allocations: 196.3 kB / 300 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.01219, allocations: 329.4 kB / 300.3 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.82e-05/0.01222, allocations: 108.9 kB / 300.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.976e-05/0.01225, allocations: 101 kB / 300.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.01228, allocations: 101 kB / 300.6 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.835e-05/0.01233, allocations: 192.1 kB / 300.8 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-05/0.01237, allocations: 180.3 kB / 301 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.715e-05/0.01242, allocations: 184.2 kB / 301.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-05/0.01247, allocations: 176.3 kB / 301.3 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.01257, allocations: 311.8 kB / 301.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.299e-05/0.01262, allocations: 180.4 kB / 301.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.331e-05/0.0127, allocations: 112.9 kB / 301.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.01274, allocations: 180.3 kB / 302.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.01277, allocations: 104.9 kB / 302.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.851e-05/0.0128, allocations: 22.05 kB / 302.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0128, allocations: 0 / 302.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000201/0.013, allocations: 23.89 kB / 302.2 MB, free: 12.56 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 9.502e-05/0.0131, allocations: 151.6 kB / 302.4 MB, free: 12.4 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.618e-05/0.01316, allocations: 24.84 kB / 302.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.01317, allocations: 0 / 302.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.288e-06/0.01317, allocations: 3.938 kB / 302.4 MB, free: 12.37 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.01342, allocations: 468.7 kB / 302.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005617/0.01398, allocations: 252.9 kB / 303.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.52e-05/0.01402, allocations: 59.34 kB / 303.2 MB, free: 11.56 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.479e-05/0.01404, allocations: 4.547 kB / 303.2 MB, free: 11.56 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.01408, allocations: 55.38 kB / 303.2 MB, free: 11.5 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01408, allocations: 0 / 303.2 MB, free: 11.5 MB / 298.7 MB Notification: Performance of Templates: time 0.004844/0.01892, allocations: 286.6 kB / 303.5 MB, free: 11.23 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0585349611938]