Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9668/0.9668, allocations: 177.1 MB / 206.1 MB, free: 4.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1374/0.1374, allocations: 32.81 MB / 295.4 MB, free: 15.38 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 377.2 MB, free: 25.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.507e-05, allocations: 2.312 kB / 377.2 MB, free: 25.64 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.001823/0.001848, allocations: 1.698 MB / 378.9 MB, free: 23.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002641/0.002112, allocations: 111.5 kB / 379 MB, free: 23.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.64e-05/0.002168, allocations: 4 kB / 379 MB, free: 23.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 4.481e-05/0.002213, allocations: 19.8 kB / 379.1 MB, free: 23.8 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.333e-05/0.002306, allocations: 35.7 kB / 379.1 MB, free: 23.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001086/0.002415, allocations: 27.95 kB / 379.1 MB, free: 23.74 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.926e-05/0.002514, allocations: 127.3 kB / 379.3 MB, free: 23.61 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.00263, allocations: 25.28 kB / 379.3 MB, free: 23.59 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.376e-05/0.002723, allocations: 75.81 kB / 379.4 MB, free: 23.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.121e-05/0.002784, allocations: 39.89 kB / 379.4 MB, free: 23.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.002803, allocations: 8 kB / 379.4 MB, free: 23.47 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.334e-05/0.002816, allocations: 12 kB / 379.4 MB, free: 23.46 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.074e-05/0.002837, allocations: 23.86 kB / 379.4 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.04e-05/0.002867, allocations: 43.91 kB / 379.5 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.002971, allocations: 79.73 kB / 379.6 MB, free: 23.31 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.002973, allocations: 0 / 379.6 MB, free: 23.31 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.002974, allocations: 0 / 379.6 MB, free: 23.31 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.002978, allocations: 0 / 379.6 MB, free: 23.31 MB / 314.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.0002601/0.003239, allocations: 432.4 kB / 380 MB, free: 22.85 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.763e-05/0.003266, allocations: 15.98 kB / 380 MB, free: 22.83 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.003297, allocations: 20.84 kB / 380 MB, free: 22.81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.149e-05/0.003388, allocations: 148.4 kB / 380.2 MB, free: 22.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.003397, allocations: 8.609 kB / 380.2 MB, free: 22.63 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.003417, allocations: 12.38 kB / 380.2 MB, free: 22.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.319e-05/0.003511, allocations: 111.1 kB / 380.3 MB, free: 22.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.00352, allocations: 192 / 380.3 MB, free: 22.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.003529, allocations: 8.375 kB / 380.3 MB, free: 22.49 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.003533, allocations: 4.359 kB / 380.3 MB, free: 22.49 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.167e-05/0.003575, allocations: 39.91 kB / 380.3 MB, free: 22.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.003903, allocations: 0.5105 MB / 380.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.532e-05/0.003969, allocations: 82.19 kB / 380.9 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.003987, allocations: 31.31 kB / 381 MB, free: 21.76 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-06/0.003993, allocations: 0 / 381 MB, free: 21.76 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.269e-05/0.004006, allocations: 37.39 kB / 381 MB, free: 21.71 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.004007, allocations: 3.938 kB / 381 MB, free: 21.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002672/0.004274, allocations: 140.9 kB / 381.1 MB, free: 21.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.614e-05/0.00429, allocations: 77.11 kB / 381.2 MB, free: 21.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.913e-05/0.004339, allocations: 177.9 kB / 381.4 MB, free: 21.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.11e-06/0.004344, allocations: 25.7 kB / 381.4 MB, free: 21.24 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.004378, allocations: 174.5 kB / 381.6 MB, free: 21.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.004392, allocations: 39.67 kB / 381.6 MB, free: 21.03 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/0.004419, allocations: 35.36 kB / 381.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.715e-05/0.004456, allocations: 0.4884 MB / 382.1 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.396e-05/0.00447, allocations: 11.98 kB / 382.2 MB, free: 20.47 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.652e-05/0.004506, allocations: 100.8 kB / 382.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.027e-05/0.004567, allocations: 136.7 kB / 382.4 MB, free: 20.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.004569, allocations: 0 / 382.4 MB, free: 20.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001358/0.004705, allocations: 153.1 kB / 382.5 MB, free: 19.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.004715, allocations: 4.25 kB / 382.5 MB, free: 19.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.00472, allocations: 8 kB / 382.6 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001054/0.004825, allocations: 43.3 kB / 382.6 MB, free: 19.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.716e-05/0.004873, allocations: 16 kB / 382.6 MB, free: 19.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007823/0.005655, allocations: 3.418 MB / 386 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.602e-05/0.005691, allocations: 11.94 kB / 386 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.005696, allocations: 4 kB / 386 MB, free: 16.25 MB / 314.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 5.35e-05/0.005749, allocations: 172.4 kB / 386.2 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.005778, allocations: 20.05 kB / 386.2 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.424e-05/0.005793, allocations: 8 kB / 386.2 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.005794, allocations: 4 kB / 386.2 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.005797, allocations: 0 / 386.2 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.0058, allocations: 0 / 386.2 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.005908, allocations: 121.2 kB / 386.4 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.00591, allocations: 3.984 kB / 386.4 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.024e-05/0.00596, allocations: 16 kB / 386.4 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.965e-05/0.00603, allocations: 39.34 kB / 386.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.006036, allocations: 7.938 kB / 386.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008776/0.006914, allocations: 3.403 MB / 389.8 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.006915, allocations: 7.969 kB / 389.8 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.007105, allocations: 386.3 kB / 390.2 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-06/0.007113, allocations: 3.953 kB / 390.2 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.007126, allocations: 7.938 kB / 390.2 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.598e-05/0.007222, allocations: 0 / 390.2 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.369e-05/0.007246, allocations: 15.92 kB / 390.2 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.007251, allocations: 0 / 390.2 MB, free: 11.74 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.997e-05/0.007281, allocations: 135.2 kB / 390.4 MB, free: 11.61 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007281, allocations: 0 / 390.4 MB, free: 11.61 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004155/0.007696, allocations: 39.89 kB / 390.4 MB, free: 11.57 MB / 314.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 9.056e-05/0.007787, allocations: 103.2 kB / 390.5 MB, free: 11.46 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002785/0.008065, allocations: 399.2 kB / 390.9 MB, free: 11.03 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.008067, allocations: 0 / 390.9 MB, free: 11.03 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.008202, allocations: 376.2 kB / 391.3 MB, free: 10.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.00865, allocations: 36.12 kB / 391.3 MB, free: 10.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006819/0.009332, allocations: 392 kB / 391.7 MB, free: 10.18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.016e-05/0.009372, allocations: 67.84 kB / 391.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.729e-05/0.00941, allocations: 8.969 kB / 391.8 MB, free: 10.08 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.625e-05/0.009466, allocations: 90.19 kB / 391.9 MB, free: 9.988 MB / 314.7 MB Notification: Performance of SimCode: time 9.12e-07/0.009467, allocations: 3.938 kB / 391.9 MB, free: 9.984 MB / 314.7 MB Notification: Performance of Templates: time 0.003777/0.01324, allocations: 1.847 MB / 393.7 MB, free: 8.18 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.143501691054553]