Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.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.001547/0.001547, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001155/0.001155, allocations: 156.4 kB / 24.98 MB, free: 8.75 MB / 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.007/1.007, allocations: 177 MB / 205.2 MB, free: 5.594 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.3553/0.3553, allocations: 34.87 MB / 296.6 MB, free: 0.5391 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.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 378.7 MB, free: 2.449 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.523e-05, allocations: 3.156 kB / 378.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.002678/0.002703, allocations: 2.625 MB / 381.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009955/0.003699, allocations: 0.7165 MB / 382.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.003821, allocations: 7.938 kB / 382.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.003961, allocations: 43.52 kB / 382.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.004085, allocations: 95.14 kB / 382.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.004343, allocations: 103.8 kB / 382.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002647/0.004608, allocations: 350.3 kB / 382.7 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.004741, allocations: 62.06 kB / 382.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.004954, allocations: 191.6 kB / 382.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.005065, allocations: 99.69 kB / 383 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.155e-05/0.005096, allocations: 24 kB / 383 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.107e-05/0.005147, allocations: 28 kB / 383.1 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.46e-05/0.005182, allocations: 59.75 kB / 383.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.005282, allocations: 95.75 kB / 383.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.005514, allocations: 215.1 kB / 383.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.005516, allocations: 0 / 383.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.005517, allocations: 0 / 383.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.005521, allocations: 4 kB / 383.4 MB, free: 13.72 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0005736/0.006095, allocations: 0.6089 MB / 384 MB, free: 13.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.006127, allocations: 12.03 kB / 384 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.006288, allocations: 68.69 kB / 384.1 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.006503, allocations: 224 kB / 384.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.006517, allocations: 20.88 kB / 384.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.006554, allocations: 36.27 kB / 384.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.006839, allocations: 263.4 kB / 384.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.006853, allocations: 8.188 kB / 384.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.006868, allocations: 4.375 kB / 384.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.006879, allocations: 11.94 kB / 384.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.007022, allocations: 95.84 kB / 384.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009539/0.007976, allocations: 1.436 MB / 386.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.008197, allocations: 208.5 kB / 386.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.589e-05/0.008273, allocations: 70.67 kB / 386.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.008287, allocations: 4 kB / 386.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.00831, allocations: 49.38 kB / 386.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.008312, allocations: 0 / 386.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001065/0.009377, allocations: 1.011 MB / 387.5 MB, free: 9.223 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.009423, allocations: 136.5 kB / 387.7 MB, free: 9.059 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.009574, allocations: 288.2 kB / 387.9 MB, free: 8.762 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.00959, allocations: 29.7 kB / 388 MB, free: 8.727 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.514e-05/0.009675, allocations: 227.3 kB / 388.2 MB, free: 8.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.748e-05/0.009732, allocations: 119 kB / 388.3 MB, free: 8.383 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.736e-05/0.0098, allocations: 83.8 kB / 388.4 MB, free: 8.293 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.009918, allocations: 0.504 MB / 388.9 MB, free: 7.777 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.232e-05/0.00999, allocations: 40.97 kB / 388.9 MB, free: 7.738 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.01015, allocations: 242.6 kB / 389.2 MB, free: 7.418 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/0.0104, allocations: 317.8 kB / 389.5 MB, free: 7.023 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.01041, allocations: 0 / 389.5 MB, free: 7.023 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003138/0.01072, allocations: 298.1 kB / 389.8 MB, free: 6.727 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.01073, allocations: 8 kB / 389.8 MB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.01074, allocations: 5.188 kB / 389.8 MB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.01075, allocations: 15.94 kB / 389.8 MB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.01094, allocations: 95.88 kB / 389.9 MB, free: 6.605 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.01095, allocations: 11.94 kB / 389.9 MB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.557e-05/0.01103, allocations: 15.98 kB / 389.9 MB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.01105, allocations: 20 kB / 389.9 MB, free: 6.559 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * 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.485e-05/0.01115, allocations: 184.4 kB / 390.1 MB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.327e-05/0.01121, allocations: 39.81 kB / 390.2 MB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.666e-05/0.01125, allocations: 33.77 kB / 390.2 MB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.01125, allocations: 7.938 kB / 390.2 MB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.01126, allocations: 8 kB / 390.2 MB, free: 6.281 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.01126, allocations: 3.984 kB / 390.2 MB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007066/0.01197, allocations: 0.9628 MB / 391.2 MB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.01197, allocations: 4.438 kB / 391.2 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.01216, allocations: 71.89 kB / 391.3 MB, free: 5.188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.01217, allocations: 4 kB / 391.3 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.01218, allocations: 12 kB / 391.3 MB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.01219, allocations: 12 kB / 391.3 MB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.01219, allocations: 3.984 kB / 391.3 MB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004362/0.01263, allocations: 0.7621 MB / 392 MB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.092e-05/0.01265, allocations: 23.81 kB / 392.1 MB, free: 4.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.01267, allocations: 8 kB / 392.1 MB, free: 4.332 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.0128, allocations: 15.98 kB / 392.1 MB, free: 4.316 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.01285, allocations: 31.89 kB / 392.1 MB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.01286, allocations: 8.234 kB / 392.1 MB, free: 4.277 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.026e-05/0.01295, allocations: 193.1 kB / 392.3 MB, free: 4.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01295, allocations: 4 kB / 392.3 MB, free: 4.086 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002927/0.01324, allocations: 68 kB / 392.4 MB, free: 4.02 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * 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 7.446e-05/0.01332, allocations: 103.2 kB / 392.5 MB, free: 3.906 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002366/0.01355, allocations: 180.4 kB / 392.7 MB, free: 3.727 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01356, allocations: 4.812 kB / 392.7 MB, free: 3.723 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.572e-05/0.01365, allocations: 87.58 kB / 392.8 MB, free: 3.633 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.01404, allocations: 48.52 kB / 392.8 MB, free: 3.582 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009589/0.015, allocations: 0.7515 MB / 393.6 MB, free: 2.777 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.098e-05/0.01507, allocations: 92.92 kB / 393.6 MB, free: 2.664 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.656e-05/0.01515, allocations: 34.95 kB / 393.7 MB, free: 2.633 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/0.0152, allocations: 28.5 kB / 393.7 MB, free: 2.605 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.0152, allocations: 0 / 393.7 MB, free: 2.605 MB / 362.7 MB Notification: Performance of Templates: time 0.003982/0.01918, allocations: 2.396 MB / 396.1 MB, free: 248 kB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.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.3090336630120873]