Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.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.001981/0.001981, allocations: 96.25 kB / 20.96 MB, free: 3.465 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.002332/0.002332, allocations: 156.9 kB / 24.27 MB, free: 168 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.504/1.504, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.3531/0.3531, allocations: 34.25 MB / 295.2 MB, free: 0.6523 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.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_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.031e-05/3.19e-05, allocations: 6.25 kB / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004674/0.004706, allocations: 2.664 MB / 379.9 MB, free: 244 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.006489, allocations: 0.775 MB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/0.006681, allocations: 11.94 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.006953, allocations: 67.31 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.007248, allocations: 130.8 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.007649, allocations: 119.8 kB / 381 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006174/0.008266, allocations: 470.1 kB / 381.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002815/0.008548, allocations: 126.7 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000453/0.009001, allocations: 263.4 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.009255, allocations: 143.5 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.724e-05/0.009323, allocations: 36 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.009427, allocations: 40 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.433e-05/0.009521, allocations: 87.59 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002331/0.009754, allocations: 135.7 kB / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006303/0.01038, allocations: 462.5 kB / 382.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.01039, allocations: 0 / 382.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01039, allocations: 4 kB / 382.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.872e-06/0.0104, allocations: 0 / 382.7 MB, free: 13.39 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.001118/0.01152, allocations: 0.5949 MB / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.01156, allocations: 12.03 kB / 383.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004255/0.01199, allocations: 100.6 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004651/0.01245, allocations: 249.1 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.01248, allocations: 25.38 kB / 383.7 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.751e-05/0.01256, allocations: 52.2 kB / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000893/0.01346, allocations: 385.6 kB / 384.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.01348, allocations: 4.141 kB / 384.1 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.591e-05/0.01352, allocations: 16.38 kB / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.01354, allocations: 15.94 kB / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005711/0.01411, allocations: 243.8 kB / 384.4 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.01582, allocations: 0.9191 MB / 385.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006414/0.01647, allocations: 327.9 kB / 385.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003448/0.01681, allocations: 162.8 kB / 385.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.01684, allocations: 4 kB / 385.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.01688, allocations: 38.56 kB / 385.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 1.974e-06/0.01688, allocations: 0 / 385.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.004598/0.02148, allocations: 2.017 MB / 387.8 MB, free: 7.961 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.367e-05/0.02158, allocations: 114.7 kB / 387.9 MB, free: 7.824 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.02182, allocations: 196.2 kB / 388.1 MB, free: 7.621 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/0.02186, allocations: 33.7 kB / 388.2 MB, free: 7.582 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.02203, allocations: 201.4 kB / 388.4 MB, free: 7.383 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.02223, allocations: 202.2 kB / 388.6 MB, free: 7.184 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.02237, allocations: 90.34 kB / 388.6 MB, free: 7.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.02259, allocations: 338.8 kB / 389 MB, free: 6.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/0.02291, allocations: 133.2 kB / 389.1 MB, free: 6.617 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003914/0.0233, allocations: 236.7 kB / 389.3 MB, free: 6.352 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007522/0.02405, allocations: 398 kB / 389.7 MB, free: 5.926 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.02406, allocations: 3.938 kB / 389.7 MB, free: 5.922 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001247/0.02531, allocations: 0.5696 MB / 390.3 MB, free: 5.336 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.02534, allocations: 11.94 kB / 390.3 MB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.02535, allocations: 0 / 390.3 MB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004924/0.02584, allocations: 134.8 kB / 390.4 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004166/0.02626, allocations: 95.81 kB / 390.5 MB, free: 5.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005677/0.03193, allocations: 4.832 MB / 395.4 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.03223, allocations: 19.98 kB / 395.4 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.578e-05/0.03227, allocations: 16 kB / 395.4 MB, free: 15.92 MB / 378.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.0002556/0.03252, allocations: 169.8 kB / 395.6 MB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.03267, allocations: 55.75 kB / 395.6 MB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.03278, allocations: 45.8 kB / 395.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.03279, allocations: 4 kB / 395.7 MB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.861e-05/0.0328, allocations: 4 kB / 395.7 MB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.03281, allocations: 3.984 kB / 395.7 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/0.03509, allocations: 1.191 MB / 396.9 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.0351, allocations: 4 kB / 396.9 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004566/0.03555, allocations: 95.88 kB / 397 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003523/0.0359, allocations: 106.5 kB / 397.1 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-05/0.03594, allocations: 12 kB / 397.1 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004477/0.04042, allocations: 4.049 MB / 401.1 MB, free: 9.809 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.04042, allocations: 4.031 kB / 401.1 MB, free: 9.805 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.04235, allocations: 0.9298 MB / 402.1 MB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.251e-05/0.04241, allocations: 31.77 kB / 402.1 MB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.04245, allocations: 12.06 kB / 402.1 MB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.04274, allocations: 19.98 kB / 402.1 MB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.04286, allocations: 51.84 kB / 402.2 MB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.04289, allocations: 12 kB / 402.2 MB, free: 8.711 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001571/0.04305, allocations: 141.9 kB / 402.3 MB, free: 8.574 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04305, allocations: 0 / 402.3 MB, free: 8.574 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007553/0.0438, allocations: 116 kB / 402.4 MB, free: 8.461 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.0001621/0.04396, allocations: 123 kB / 402.6 MB, free: 8.332 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001565/0.04553, allocations: 0.759 MB / 403.3 MB, free: 7.535 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.04553, allocations: 0 / 403.3 MB, free: 7.535 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009401/0.04647, allocations: 0.562 MB / 403.9 MB, free: 6.934 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006842/0.04716, allocations: 69.47 kB / 403.9 MB, free: 6.863 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.04908, allocations: 0.9644 MB / 404.9 MB, free: 5.855 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.04935, allocations: 220.9 kB / 405.1 MB, free: 5.617 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001388/0.04949, allocations: 35.27 kB / 405.2 MB, free: 5.582 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.302e-05/0.04958, allocations: 24.5 kB / 405.2 MB, free: 5.559 MB / 378.7 MB Notification: Performance of SimCode: time 1.433e-06/0.04958, allocations: 4 kB / 405.2 MB, free: 5.555 MB / 378.7 MB Notification: Performance of Templates: time 0.01076/0.06034, allocations: 4.415 MB / 409.6 MB, free: 1.18 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.260761659941636]