Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.001873/0.001873, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 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.002338/0.002338, allocations: 210.4 kB / 23.73 MB, free: 4.41 MB / 14.72 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2387/0.2387, allocations: 46.96 MB / 360.9 MB, free: 4.062 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00302/0.00302, allocations: 63.91 kB / 0.4966 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3619, allocations: 66.04 MB / 0.5611 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004227/0.3661, allocations: 2.645 MB / 0.5637 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.3675, allocations: 0.7439 MB / 0.5644 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.3677, allocations: 11.94 kB / 0.5644 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.3679, allocations: 59.38 kB / 0.5645 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002691/0.3681, allocations: 134.8 kB / 0.5646 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.3685, allocations: 103.9 kB / 0.5647 GB, free: 484 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005099/0.369, allocations: 441.8 kB / 0.5651 GB, free: 40 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002784/0.3693, allocations: 102.1 kB / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003072/0.3696, allocations: 171.3 kB / 0.5654 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/0.3698, allocations: 159.2 kB / 0.5655 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.638e-05/0.3699, allocations: 32 kB / 0.5655 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.37, allocations: 40 kB / 0.5656 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.669e-05/0.3701, allocations: 79.75 kB / 0.5657 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.3702, allocations: 159.3 kB / 0.5658 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005305/0.3708, allocations: 448.5 kB / 0.5662 GB, free: 14.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3708, allocations: 0 / 0.5662 GB, free: 14.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3708, allocations: 0 / 0.5662 GB, free: 14.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.3708, allocations: 0 / 0.5662 GB, free: 14.87 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001025/0.3718, allocations: 0.5988 MB / 0.5668 GB, free: 14.24 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.3718, allocations: 8.031 kB / 0.5668 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002668/0.3721, allocations: 60.67 kB / 0.5669 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.3725, allocations: 217.9 kB / 0.5671 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.3725, allocations: 25.38 kB / 0.5671 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.078e-05/0.3726, allocations: 48.31 kB / 0.5672 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006732/0.3733, allocations: 394.5 kB / 0.5675 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.292e-05/0.3733, allocations: 15.89 kB / 0.5676 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.036e-05/0.3733, allocations: 16 kB / 0.5676 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.3734, allocations: 8 kB / 0.5676 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004441/0.3738, allocations: 215.7 kB / 0.5678 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002307/0.3761, allocations: 1.551 MB / 0.5693 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004714/0.3766, allocations: 262.3 kB / 0.5696 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.3768, allocations: 98.02 kB / 0.5696 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.3768, allocations: 4 kB / 0.5696 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.3768, allocations: 42.5 kB / 0.5697 GB, free: 11.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.803e-06/0.3768, allocations: 0 / 0.5697 GB, free: 11.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006877/0.3775, allocations: 265.3 kB / 0.5699 GB, free: 10.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/0.3776, allocations: 209.6 kB / 0.5701 GB, free: 10.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.3779, allocations: 268.1 kB / 0.5704 GB, free: 10.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.3779, allocations: 29.7 kB / 0.5704 GB, free: 10.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.3781, allocations: 247.8 kB / 0.5707 GB, free: 9.996 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.3783, allocations: 131 kB / 0.5708 GB, free: 9.867 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.3784, allocations: 94.3 kB / 0.5709 GB, free: 9.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.3786, allocations: 354.7 kB / 0.5712 GB, free: 9.414 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.3788, allocations: 101.5 kB / 0.5713 GB, free: 9.312 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004852/0.3793, allocations: 428.8 kB / 0.5717 GB, free: 8.738 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007605/0.38, allocations: 0.5663 MB / 0.5723 GB, free: 8.012 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.38, allocations: 0 / 0.5723 GB, free: 8.012 MB / 414.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009169/0.3809, allocations: 0.5289 MB / 0.5728 GB, free: 7.477 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.381, allocations: 12 kB / 0.5728 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.381, allocations: 11.94 kB / 0.5728 GB, free: 7.453 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/0.381, allocations: 16 kB / 0.5728 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004486/0.3815, allocations: 147.8 kB / 0.573 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.741e-05/0.3815, allocations: 32.33 kB / 0.573 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.3818, allocations: 59.62 kB / 0.5731 GB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.295e-05/0.3818, allocations: 32 kB / 0.5731 GB, free: 7.172 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002018/0.382, allocations: 185.5 kB / 0.5733 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.3822, allocations: 31.81 kB / 0.5733 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.299e-05/0.3823, allocations: 33.73 kB / 0.5733 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.3823, allocations: 4 kB / 0.5733 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.3823, allocations: 4 kB / 0.5733 GB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3823, allocations: 0 / 0.5733 GB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.3835, allocations: 0.5658 MB / 0.5739 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.3835, allocations: 4 kB / 0.5739 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004539/0.384, allocations: 91.88 kB / 0.574 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.384, allocations: 4 kB / 0.574 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.384, allocations: 12 kB / 0.574 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.384, allocations: 0 / 0.574 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.384, allocations: 4 kB / 0.574 GB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007889/0.3848, allocations: 0.8298 MB / 0.5748 GB, free: 5.316 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.3848, allocations: 39.78 kB / 0.5748 GB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.509e-05/0.3849, allocations: 11.98 kB / 0.5749 GB, free: 5.266 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/0.3852, allocations: 8 kB / 0.5749 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.066e-05/0.3853, allocations: 27.84 kB / 0.5749 GB, free: 5.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.3853, allocations: 15.98 kB / 0.5749 GB, free: 5.215 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001651/0.3855, allocations: 175 kB / 0.5751 GB, free: 5.047 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3855, allocations: 0 / 0.5751 GB, free: 5.047 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007255/0.3862, allocations: 95.89 kB / 0.5752 GB, free: 4.953 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001222/0.3863, allocations: 112.8 kB / 0.5753 GB, free: 4.836 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005525/0.3869, allocations: 282 kB / 0.5755 GB, free: 4.562 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3869, allocations: 0 / 0.5755 GB, free: 4.562 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.3871, allocations: 87.77 kB / 0.5756 GB, free: 4.477 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.3881, allocations: 81.77 kB / 0.5757 GB, free: 4.398 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.3904, allocations: 1.55 MB / 0.5772 GB, free: 2.789 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.3906, allocations: 198.2 kB / 0.5774 GB, free: 2.574 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001577/0.3908, allocations: 47.25 kB / 0.5775 GB, free: 2.527 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.3e-05/0.3908, allocations: 27.44 kB / 0.5775 GB, free: 2.5 MB / 414.1 MB Notification: Performance of SimCode: time 5.72e-07/0.3908, allocations: 0 / 0.5775 GB, free: 2.5 MB / 414.1 MB Notification: Performance of Templates: time 0.007987/0.3988, allocations: 3.364 MB / 0.5808 GB, free: 15.2 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.350284272804856]