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.001506/0.001506, allocations: 92.27 kB / 20.96 MB, free: 3.441 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.001621/0.001621, allocations: 156.9 kB / 24.26 MB, free: 148 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.639/1.639, allocations: 177 MB / 204.4 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.374/0.374, allocations: 34.25 MB / 295.2 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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 2.053e-06/2.053e-06, allocations: 0 / 377.2 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.099e-05/3.304e-05, allocations: 2.312 kB / 377.2 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003423/0.003456, allocations: 1.682 MB / 378.9 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001892/0.003645, allocations: 83.66 kB / 378.9 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.015e-05/0.003695, allocations: 0 / 378.9 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.685e-05/0.003752, allocations: 15.86 kB / 379 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.459e-05/0.003827, allocations: 19.78 kB / 379 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.932e-05/0.003916, allocations: 27.97 kB / 379 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.004078, allocations: 111.4 kB / 379.1 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.004229, allocations: 39.98 kB / 379.2 MB, free: 0.957 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.536e-05/0.004315, allocations: 63.88 kB / 379.2 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.429e-05/0.004399, allocations: 27.89 kB / 379.2 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.004424, allocations: 12 kB / 379.3 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.036e-05/0.004445, allocations: 12 kB / 379.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.202e-05/0.004477, allocations: 23.92 kB / 379.3 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.705e-05/0.004534, allocations: 39.91 kB / 379.3 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.004708, allocations: 115.6 kB / 379.4 MB, free: 0.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.004712, allocations: 0 / 379.4 MB, free: 0.668 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.386e-06/0.004715, allocations: 7.984 kB / 379.4 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.004719, allocations: 0 / 379.4 MB, free: 0.6602 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.000517/0.005236, allocations: 330.2 kB / 379.8 MB, free: 308 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.005276, allocations: 8.031 kB / 379.8 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.634e-05/0.005332, allocations: 24.83 kB / 379.8 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.005454, allocations: 113.7 kB / 379.9 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.005475, allocations: 12.59 kB / 379.9 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.005498, allocations: 12.38 kB / 379.9 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.005748, allocations: 129.5 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.005757, allocations: 192 / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.005775, allocations: 12.38 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.005781, allocations: 384 / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.005928, allocations: 67.91 kB / 380.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000898/0.006826, allocations: 0.6263 MB / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.006957, allocations: 177.1 kB / 380.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.921e-05/0.007006, allocations: 84.08 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.625e-05/0.007052, allocations: 75.28 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.287e-05/0.007125, allocations: 109.8 kB / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.007126, allocations: 4 kB / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.782e-05/0.007204, allocations: 33.64 kB / 381.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.771e-05/0.007291, allocations: 130.7 kB / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.007425, allocations: 121.8 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.007447, allocations: 25.7 kB / 381.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.007547, allocations: 135.9 kB / 381.6 MB, free: 14.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-06/0.00755, allocations: 0 / 381.6 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.007594, allocations: 21.72 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.007766, allocations: 318.8 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/0.007787, allocations: 7.984 kB / 382 MB, free: 13.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.089e-05/0.007848, allocations: 49.16 kB / 382 MB, free: 13.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.717e-05/0.007935, allocations: 53.09 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.007939, allocations: 3.938 kB / 382.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001695/0.008109, allocations: 77.67 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.008126, allocations: 8 kB / 382.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.008131, allocations: 0 / 382.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.008152, allocations: 7.984 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.922e-05/0.008221, allocations: 11.94 kB / 382.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.008225, allocations: 0 / 382.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.844e-05/0.008264, allocations: 4 kB / 382.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.00827, allocations: 4 kB / 382.2 MB, free: 13.66 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.0001455/0.008415, allocations: 197.1 kB / 382.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.863e-05/0.008504, allocations: 112.9 kB / 382.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.615e-05/0.00858, allocations: 108.5 kB / 382.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001004/0.008681, allocations: 188.2 kB / 382.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001142/0.008795, allocations: 180.3 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.66e-05/0.008891, allocations: 176.3 kB / 383.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/0.009193, allocations: 380.8 kB / 383.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.079e-05/0.009253, allocations: 105 kB / 383.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.352e-05/0.009317, allocations: 112.9 kB / 383.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.947e-05/0.009416, allocations: 180.3 kB / 383.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.009517, allocations: 180.3 kB / 384.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.905e-05/0.009616, allocations: 180.2 kB / 384.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001097/0.009726, allocations: 180.3 kB / 384.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.009924, allocations: 307.8 kB / 384.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.857e-05/0.01, allocations: 116.9 kB / 384.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.01011, allocations: 180.2 kB / 385 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.01021, allocations: 105 kB / 385.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.01032, allocations: 184.2 kB / 385.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.964e-05/0.01038, allocations: 101 kB / 385.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.484e-05/0.01046, allocations: 95.64 kB / 385.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01046, allocations: 4 kB / 385.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002583/0.01071, allocations: 19.89 kB / 385.5 MB, free: 10.16 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.0002947/0.01101, allocations: 170.5 kB / 385.7 MB, free: 9.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.265e-05/0.01107, allocations: 23.88 kB / 385.7 MB, free: 9.957 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.01107, allocations: 0 / 385.7 MB, free: 9.957 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.01107, allocations: 0 / 385.7 MB, free: 9.957 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.01151, allocations: 463.6 kB / 386.2 MB, free: 9.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.01194, allocations: 247 kB / 386.4 MB, free: 9.234 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.713e-05/0.01203, allocations: 81.81 kB / 386.5 MB, free: 9.133 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.946e-05/0.01205, allocations: 4 kB / 386.5 MB, free: 9.129 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.183e-05/0.01208, allocations: 12.5 kB / 386.5 MB, free: 9.117 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01208, allocations: 0 / 386.5 MB, free: 9.117 MB / 362.7 MB Notification: Performance of Templates: time 0.002617/0.01469, allocations: 285.4 kB / 386.8 MB, free: 8.84 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.873496646992862]