Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.001055/0.001055, allocations: 79.59 kB / 21.18 MB, free: 3.391 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.001581/0.001581, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 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 1.008/1.008, allocations: 177.1 MB / 205 MB, free: 5.629 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.2486/0.2486, allocations: 32.8 MB / 294.3 MB, free: 1.203 MB / 266.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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.558e-05, allocations: 6.25 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004575/0.004601, allocations: 2.879 MB / 378.9 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.006135, allocations: 0.7866 MB / 379.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/0.006327, allocations: 11.94 kB / 379.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.006553, allocations: 63.31 kB / 379.7 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000284/0.006837, allocations: 134.8 kB / 379.9 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.007286, allocations: 119.7 kB / 380 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005166/0.007802, allocations: 470.1 kB / 380.5 MB, free: 180 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002848/0.008087, allocations: 126.8 kB / 380.6 MB, free: 52 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004439/0.008531, allocations: 271.3 kB / 380.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.008765, allocations: 139.6 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.966e-05/0.008824, allocations: 36 kB / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.008928, allocations: 40 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.354e-05/0.009012, allocations: 79.67 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.00917, allocations: 147.7 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004858/0.009656, allocations: 306.8 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.009659, allocations: 4 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.00966, allocations: 0 / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.009669, allocations: 0 / 381.6 MB, free: 15.05 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009424/0.01061, allocations: 0.6987 MB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.01066, allocations: 12.03 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003435/0.011, allocations: 100.6 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.01136, allocations: 244.9 kB / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/0.0114, allocations: 29.38 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.184e-05/0.01147, allocations: 36.38 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005474/0.01202, allocations: 326.8 kB / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.01204, allocations: 12.14 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.01207, allocations: 16.38 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.01209, allocations: 15.94 kB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002819/0.01238, allocations: 127.8 kB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.01371, allocations: 1.033 MB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/0.01417, allocations: 284.2 kB / 384.5 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.01436, allocations: 115.2 kB / 384.6 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.01439, allocations: 12 kB / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.01444, allocations: 45.33 kB / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 2.154e-06/0.01444, allocations: 0 / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.002309/0.01675, allocations: 1.769 MB / 386.4 MB, free: 9.836 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.0168, allocations: 110.8 kB / 386.5 MB, free: 9.703 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.01697, allocations: 250.7 kB / 386.8 MB, free: 9.438 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.01699, allocations: 33.7 kB / 386.8 MB, free: 9.398 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.01711, allocations: 244.1 kB / 387.1 MB, free: 9.156 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.01723, allocations: 198.2 kB / 387.2 MB, free: 8.961 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.51e-05/0.01733, allocations: 92 kB / 387.3 MB, free: 8.863 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.0175, allocations: 0.5118 MB / 387.8 MB, free: 8.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.0176, allocations: 69.27 kB / 387.9 MB, free: 8.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.01778, allocations: 202.7 kB / 388.1 MB, free: 8.023 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.0181, allocations: 304 kB / 388.4 MB, free: 7.676 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.0181, allocations: 3.938 kB / 388.4 MB, free: 7.672 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005304/0.01863, allocations: 459.8 kB / 388.9 MB, free: 7.203 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.01865, allocations: 11.97 kB / 388.9 MB, free: 7.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.01866, allocations: 4 kB / 388.9 MB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002826/0.01894, allocations: 118.9 kB / 389 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.01917, allocations: 91.88 kB / 389.1 MB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003484/0.02266, allocations: 6.363 MB / 395.4 MB, free: 252 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.522e-05/0.02275, allocations: 19.98 kB / 395.5 MB, free: 232 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.02278, allocations: 16 kB / 395.5 MB, free: 216 kB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.02292, allocations: 184.5 kB / 395.7 MB, free: 20 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.954e-05/0.023, allocations: 59.78 kB / 395.7 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.253e-05/0.02305, allocations: 53.83 kB / 395.8 MB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.02305, allocations: 4 kB / 395.8 MB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.02306, allocations: 4 kB / 395.8 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.02307, allocations: 3.984 kB / 395.8 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.02414, allocations: 1.186 MB / 397 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.02414, allocations: 4.094 kB / 397 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.02435, allocations: 95.88 kB / 397.1 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001696/0.02452, allocations: 102.9 kB / 397.2 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.02454, allocations: 8.188 kB / 397.2 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002436/0.02698, allocations: 5.417 MB / 402.6 MB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.02698, allocations: 4.094 kB / 402.6 MB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006285/0.02761, allocations: 0.8881 MB / 403.5 MB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.022e-05/0.02763, allocations: 27.88 kB / 403.5 MB, free: 7.668 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.02765, allocations: 16 kB / 403.5 MB, free: 7.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.02777, allocations: 15.98 kB / 403.5 MB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.604e-05/0.02785, allocations: 43.86 kB / 403.6 MB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.02786, allocations: 16 kB / 403.6 MB, free: 7.578 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.962e-05/0.02794, allocations: 181.8 kB / 403.8 MB, free: 7.402 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02794, allocations: 7.938 kB / 403.8 MB, free: 7.395 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000392/0.02834, allocations: 120 kB / 403.9 MB, free: 7.277 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001052/0.02844, allocations: 107.2 kB / 404 MB, free: 7.164 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008331/0.02927, allocations: 0.8318 MB / 404.8 MB, free: 6.277 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.02928, allocations: 4 kB / 404.8 MB, free: 6.273 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003744/0.02965, allocations: 0.6854 MB / 405.5 MB, free: 5.531 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.03006, allocations: 67.94 kB / 405.6 MB, free: 5.465 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.03126, allocations: 0.9543 MB / 406.6 MB, free: 4.461 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.265e-05/0.03134, allocations: 126.4 kB / 406.7 MB, free: 4.316 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.938e-05/0.03141, allocations: 35.27 kB / 406.7 MB, free: 4.281 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.701e-05/0.03147, allocations: 28.5 kB / 406.7 MB, free: 4.254 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.03147, allocations: 0 / 406.7 MB, free: 4.254 MB / 378.7 MB Notification: Performance of Templates: time 0.006956/0.03843, allocations: 4.63 MB / 411.4 MB, free: 15.66 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.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.336420218925923]