Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001181/0.001181, allocations: 87.67 kB / 21.19 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.001083/0.001083, allocations: 156.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.014/1.014, allocations: 177 MB / 204.8 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.2589/0.2589, allocations: 34.85 MB / 296.3 MB, free: 0.5352 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.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 378.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/2.967e-05, allocations: 2.312 kB / 378.7 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003209/0.003238, allocations: 1.707 MB / 380.5 MB, free: 404 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004132/0.003652, allocations: 107.6 kB / 380.6 MB, free: 296 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.092e-05/0.003733, allocations: 4 kB / 380.6 MB, free: 292 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.545e-05/0.003798, allocations: 11.86 kB / 380.6 MB, free: 280 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.00393, allocations: 43.62 kB / 380.6 MB, free: 236 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.004072, allocations: 27.95 kB / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.004231, allocations: 127.3 kB / 380.8 MB, free: 80 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.004363, allocations: 25.16 kB / 380.8 MB, free: 56 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.00452, allocations: 83.8 kB / 380.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.968e-05/0.004609, allocations: 35.89 kB / 380.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.148e-05/0.004641, allocations: 12 kB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.39e-05/0.004665, allocations: 12 kB / 380.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.024e-05/0.004695, allocations: 23.91 kB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.567e-05/0.004751, allocations: 35.92 kB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.004928, allocations: 83.67 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.004932, allocations: 0 / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.004933, allocations: 0 / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.004939, allocations: 0 / 381.1 MB, free: 15.77 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.0005066/0.005445, allocations: 436.4 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.00549, allocations: 8.031 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.162e-05/0.005552, allocations: 20.89 kB / 381.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.005728, allocations: 144.4 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.005743, allocations: 8.609 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.005778, allocations: 16.38 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.005985, allocations: 115.2 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.006002, allocations: 8.141 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.006019, allocations: 8.312 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.006031, allocations: 4.375 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.57e-05/0.006116, allocations: 43.89 kB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008415/0.006958, allocations: 0.5256 MB / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.007086, allocations: 90.12 kB / 382.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.882e-05/0.007125, allocations: 27.38 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.007135, allocations: 8.078 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.007163, allocations: 37.33 kB / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.714e-06/0.007165, allocations: 3.938 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004675/0.007633, allocations: 144.8 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.007671, allocations: 77.11 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.007786, allocations: 193.8 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.007799, allocations: 25.7 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.365e-05/0.007873, allocations: 162.6 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.007907, allocations: 31.73 kB / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/0.007958, allocations: 35.38 kB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.0081, allocations: 0.4884 MB / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.651e-05/0.008136, allocations: 16 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-05/0.008216, allocations: 108.8 kB / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.00835, allocations: 132.8 kB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.008354, allocations: 4 kB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002568/0.008611, allocations: 160.9 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.008631, allocations: 12.03 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.008638, allocations: 4 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002067/0.008845, allocations: 39.36 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.049e-05/0.008936, allocations: 23.92 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/0.01107, allocations: 3.461 MB / 387.6 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.316e-05/0.01113, allocations: 11.95 kB / 387.7 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.01114, allocations: 4 kB / 387.7 MB, free: 8.578 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.67e-05/0.01124, allocations: 176.6 kB / 387.8 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/0.01128, allocations: 12 kB / 387.8 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.042e-05/0.0113, allocations: 8 kB / 387.9 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.0113, allocations: 0 / 387.9 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.01131, allocations: 4 kB / 387.9 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01131, allocations: 0 / 387.9 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.01152, allocations: 148.5 kB / 388 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.01152, allocations: 0 / 388 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.22e-05/0.0116, allocations: 15.98 kB / 388 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001169/0.01172, allocations: 39.36 kB / 388.1 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.01173, allocations: 8 kB / 388.1 MB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/0.01332, allocations: 3.457 MB / 391.5 MB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01332, allocations: 3.938 kB / 391.5 MB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.01358, allocations: 382.3 kB / 391.9 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.268e-05/0.01359, allocations: 15.88 kB / 391.9 MB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.01361, allocations: 4 kB / 391.9 MB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.9e-05/0.0137, allocations: 4 kB / 391.9 MB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.01373, allocations: 7.984 kB / 391.9 MB, free: 3.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.01373, allocations: 3.938 kB / 391.9 MB, free: 3.977 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.901e-05/0.01379, allocations: 135.6 kB / 392.1 MB, free: 3.844 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01379, allocations: 0 / 392.1 MB, free: 3.844 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003904/0.01418, allocations: 35.98 kB / 392.1 MB, free: 3.809 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001167/0.0143, allocations: 103.2 kB / 392.2 MB, free: 3.695 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006948/0.01499, allocations: 399.3 kB / 392.6 MB, free: 3.266 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.015, allocations: 3.938 kB / 392.6 MB, free: 3.262 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.0152, allocations: 375.8 kB / 393 MB, free: 2.855 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/0.01563, allocations: 35.5 kB / 393 MB, free: 2.824 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008764/0.01651, allocations: 405.6 kB / 393.4 MB, free: 2.395 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.873e-05/0.01657, allocations: 68.08 kB / 393.5 MB, free: 2.309 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.981e-05/0.01661, allocations: 4.984 kB / 393.5 MB, free: 2.301 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.01663, allocations: 16.5 kB / 393.5 MB, free: 2.285 MB / 362.7 MB Notification: Performance of SimCode: time 1.272e-06/0.01664, allocations: 0 / 393.5 MB, free: 2.285 MB / 362.7 MB Notification: Performance of Templates: time 0.004688/0.02132, allocations: 1.756 MB / 395.2 MB, free: 0.5586 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.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.191622975282371]