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.00132/0.00132, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.001143/0.001143, allocations: 160.5 kB / 24.55 MB, free: 16 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.073/1.073, allocations: 177 MB / 204.8 MB, free: 5.59 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.2661/0.2661, allocations: 34.86 MB / 296.3 MB, free: 0.5391 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.533e-06/1.533e-06, allocations: 0 / 378.7 MB, free: 2.133 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.892e-05/3.046e-05, allocations: 3.719 kB / 378.7 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002242/0.002272, allocations: 1.754 MB / 380.5 MB, free: 364 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001693/0.002442, allocations: 75.73 kB / 380.6 MB, free: 288 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.857e-05/0.00249, allocations: 4 kB / 380.6 MB, free: 284 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.339e-05/0.002544, allocations: 15.8 kB / 380.6 MB, free: 268 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.326e-05/0.002607, allocations: 27.77 kB / 380.6 MB, free: 240 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.94e-05/0.002686, allocations: 23.97 kB / 380.6 MB, free: 216 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.002788, allocations: 103.4 kB / 380.7 MB, free: 112 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.002952, allocations: 43.95 kB / 380.8 MB, free: 68 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.064e-05/0.003033, allocations: 63.88 kB / 380.8 MB, free: 4 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.003172, allocations: 35.91 kB / 380.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.003202, allocations: 8 kB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.709e-05/0.003219, allocations: 12 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.676e-05/0.003246, allocations: 27.91 kB / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.261e-05/0.003289, allocations: 35.92 kB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.003437, allocations: 75.72 kB / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.003439, allocations: 0 / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.00344, allocations: 0 / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.003449, allocations: 4 kB / 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.0004167/0.003866, allocations: 424.5 kB / 381.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.003907, allocations: 16.03 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.003948, allocations: 16.89 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.26e-05/0.004031, allocations: 120.5 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.004044, allocations: 12.61 kB / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.004064, allocations: 12.38 kB / 381.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.004214, allocations: 115.2 kB / 381.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.004225, allocations: 4.125 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.004238, allocations: 8.375 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.004246, allocations: 4.375 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.247e-05/0.004308, allocations: 39.91 kB / 381.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006366/0.004945, allocations: 0.8155 MB / 382.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.963e-05/0.005035, allocations: 277.4 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.413e-05/0.005069, allocations: 126.9 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.005097, allocations: 119.2 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.005139, allocations: 156.5 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.103e-06/0.005141, allocations: 0 / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.778e-05/0.005198, allocations: 29.7 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.005251, allocations: 174.6 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.005355, allocations: 189.8 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.005365, allocations: 25.7 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.005436, allocations: 170.7 kB / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-06/0.005439, allocations: 4 kB / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.005469, allocations: 27.33 kB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.005578, allocations: 0.4883 MB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.005593, allocations: 4 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.735e-05/0.005631, allocations: 62.06 kB / 384.4 MB, free: 12.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.751e-05/0.005688, allocations: 70.05 kB / 384.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.00569, allocations: 0 / 384.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001221/0.005812, allocations: 73.5 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.005826, allocations: 4 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.005832, allocations: 4 kB / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.00585, allocations: 192 / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.359e-05/0.005913, allocations: 16 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.005919, allocations: 3.938 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.252e-05/0.005942, allocations: 4 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.005946, allocations: 0 / 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.0001023/0.006048, allocations: 287.7 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.006103, allocations: 156.8 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.765e-05/0.006151, allocations: 152.3 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.249e-05/0.006213, allocations: 272.1 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.605e-05/0.006279, allocations: 272 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-05/0.006341, allocations: 268.1 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.006518, allocations: 0.5116 MB / 386.5 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.441e-05/0.006552, allocations: 148.8 kB / 386.6 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-05/0.006586, allocations: 148.8 kB / 386.8 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.727e-05/0.006643, allocations: 272 kB / 387 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.726e-05/0.006701, allocations: 264.1 kB / 387.3 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.044e-05/0.006761, allocations: 272.2 kB / 387.6 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-05/0.006822, allocations: 276 kB / 387.8 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.006952, allocations: 440.2 kB / 388.3 MB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.776e-05/0.007, allocations: 172.8 kB / 388.4 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.721e-05/0.007077, allocations: 268 kB / 388.7 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.241e-05/0.00713, allocations: 144.9 kB / 388.8 MB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.253e-05/0.007192, allocations: 272.1 kB / 389.1 MB, free: 7.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/0.007224, allocations: 148.8 kB / 389.2 MB, free: 7.102 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.974e-05/0.007274, allocations: 139.5 kB / 389.4 MB, free: 6.965 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007274, allocations: 0 / 389.4 MB, free: 6.965 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001491/0.007423, allocations: 19.95 kB / 389.4 MB, free: 6.945 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.867e-05/0.007522, allocations: 210.4 kB / 389.6 MB, free: 6.727 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000321/0.007843, allocations: 31.55 kB / 389.6 MB, free: 6.691 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.007845, allocations: 384 / 389.6 MB, free: 6.691 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.007846, allocations: 4 kB / 389.6 MB, free: 6.688 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.008155, allocations: 0.7046 MB / 390.4 MB, free: 5.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.00849, allocations: 304.4 kB / 390.6 MB, free: 5.656 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.56e-05/0.008526, allocations: 63.34 kB / 390.7 MB, free: 5.574 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.267e-05/0.008549, allocations: 3.906 kB / 390.7 MB, free: 5.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.454e-05/0.008573, allocations: 8.5 kB / 390.7 MB, free: 5.562 MB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.008574, allocations: 0 / 390.7 MB, free: 5.562 MB / 362.7 MB Notification: Performance of Templates: time 0.001957/0.01053, allocations: 292.1 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: 3.427425119560212]