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.002011/0.002011, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002326/0.002326, allocations: 169.3 kB / 24.27 MB, free: 144 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.531/1.531, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.386/0.386, allocations: 32.79 MB / 293.9 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 179] 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.563e-06/1.563e-06, allocations: 0 / 375.2 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.136e-05, allocations: 6.25 kB / 375.3 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.005087/0.005118, allocations: 2.665 MB / 377.9 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.006801, allocations: 0.775 MB / 378.7 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.006966, allocations: 15.88 kB / 378.7 MB, free: 1.52 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.007171, allocations: 59.38 kB / 378.8 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.007448, allocations: 134.7 kB / 378.9 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.007817, allocations: 119.8 kB / 379 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005771/0.008395, allocations: 466.1 kB / 379.5 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000283/0.008678, allocations: 130.7 kB / 379.6 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004394/0.009117, allocations: 267.4 kB / 379.9 MB, free: 368 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.00936, allocations: 139.5 kB / 380 MB, free: 228 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.747e-05/0.009428, allocations: 36 kB / 380 MB, free: 192 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.009535, allocations: 36 kB / 380.1 MB, free: 156 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.009641, allocations: 87.66 kB / 380.2 MB, free: 68 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002025/0.009843, allocations: 139.7 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000609/0.01045, allocations: 462.4 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.01046, allocations: 0 / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01046, allocations: 3.938 kB / 380.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.01046, allocations: 0 / 380.7 MB, free: 15.47 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.001117/0.01158, allocations: 0.595 MB / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.01162, allocations: 12.03 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003998/0.01202, allocations: 108.6 kB / 381.5 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004523/0.01247, allocations: 246.1 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.653e-05/0.01251, allocations: 29.38 kB / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.61e-05/0.0126, allocations: 44.33 kB / 381.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007463/0.01335, allocations: 381.6 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/0.01338, allocations: 12.08 kB / 382.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.36e-05/0.01342, allocations: 24.38 kB / 382.2 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.01344, allocations: 11.94 kB / 382.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005698/0.01401, allocations: 239.8 kB / 382.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.01569, allocations: 0.9113 MB / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006195/0.01631, allocations: 320 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/0.01665, allocations: 162.8 kB / 383.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/0.01669, allocations: 11.98 kB / 383.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.01673, allocations: 38.5 kB / 383.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 1.854e-06/0.01673, allocations: 4 kB / 383.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.00468/0.02141, allocations: 2.013 MB / 385.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.02151, allocations: 110.8 kB / 386 MB, free: 9.902 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.02176, allocations: 200.2 kB / 386.2 MB, free: 9.695 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.212e-05/0.0218, allocations: 37.7 kB / 386.2 MB, free: 9.652 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.02197, allocations: 193.4 kB / 386.4 MB, free: 9.461 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/0.02217, allocations: 210.2 kB / 386.6 MB, free: 9.254 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.02231, allocations: 82.34 kB / 386.7 MB, free: 9.168 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000226/0.02254, allocations: 342.8 kB / 387 MB, free: 8.824 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003043/0.02284, allocations: 133.2 kB / 387.2 MB, free: 8.691 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/0.02324, allocations: 232.7 kB / 387.4 MB, free: 8.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007235/0.02396, allocations: 390 kB / 387.8 MB, free: 8.012 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.02397, allocations: 3.938 kB / 387.8 MB, free: 8.008 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001225/0.02519, allocations: 0.5737 MB / 388.3 MB, free: 7.418 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.02522, allocations: 15.92 kB / 388.4 MB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.02523, allocations: 0 / 388.4 MB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004857/0.02571, allocations: 130.5 kB / 388.5 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/0.02612, allocations: 95.88 kB / 388.6 MB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005708/0.03183, allocations: 4.831 MB / 393.4 MB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.03208, allocations: 20.17 kB / 393.4 MB, free: 2.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/0.03212, allocations: 20 kB / 393.4 MB, free: 2 MB / 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.0002492/0.03237, allocations: 165.8 kB / 393.6 MB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.03251, allocations: 55.69 kB / 393.7 MB, free: 1.773 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.03262, allocations: 49.8 kB / 393.7 MB, free: 1.719 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.03263, allocations: 4 kB / 393.7 MB, free: 1.715 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/0.03264, allocations: 4 kB / 393.7 MB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.03265, allocations: 3.984 kB / 393.7 MB, free: 1.707 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/0.03488, allocations: 1.186 MB / 394.9 MB, free: 476 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.03489, allocations: 4 kB / 394.9 MB, free: 472 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000462/0.03535, allocations: 103.9 kB / 395 MB, free: 368 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003493/0.0357, allocations: 94.52 kB / 395.1 MB, free: 264 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.23e-05/0.03573, allocations: 12 kB / 395.1 MB, free: 252 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00463/0.04036, allocations: 4.041 MB / 399.2 MB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/0.04037, allocations: 8.016 kB / 399.2 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.04205, allocations: 0.9377 MB / 400.1 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.229e-05/0.04212, allocations: 31.7 kB / 400.1 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.371e-05/0.04218, allocations: 12.06 kB / 400.1 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/0.04246, allocations: 15.98 kB / 400.2 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.0426, allocations: 55.78 kB / 400.2 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-05/0.04264, allocations: 16 kB / 400.2 MB, free: 10.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001533/0.04279, allocations: 137.9 kB / 400.4 MB, free: 10.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.04279, allocations: 8 kB / 400.4 MB, free: 10.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007964/0.04359, allocations: 120 kB / 400.5 MB, free: 10.53 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.000191/0.04378, allocations: 111.1 kB / 400.6 MB, free: 10.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001547/0.04532, allocations: 0.767 MB / 401.4 MB, free: 9.609 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.04533, allocations: 0 / 401.4 MB, free: 9.609 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009269/0.04625, allocations: 0.5661 MB / 401.9 MB, free: 9.004 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006764/0.04693, allocations: 61.95 kB / 402 MB, free: 8.945 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.04889, allocations: 0.9818 MB / 403 MB, free: 7.922 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.04918, allocations: 216.9 kB / 403.2 MB, free: 7.688 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001336/0.04932, allocations: 31.27 kB / 403.2 MB, free: 7.656 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.224e-05/0.0494, allocations: 32.5 kB / 403.2 MB, free: 7.625 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.0494, allocations: 0 / 403.2 MB, free: 7.625 MB / 378.7 MB Notification: Performance of Templates: time 0.01112/0.06052, allocations: 4.41 MB / 407.7 MB, free: 3.258 MB / 378.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.029884725925513]