Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.001673/0.001673, allocations: 110.4 kB / 21.17 MB, free: 0.7695 MB / 14.72 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.002434/0.002434, allocations: 212.8 kB / 24.46 MB, free: 4.359 MB / 14.72 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.558/1.558, allocations: 230.2 MB / 257.8 MB, free: 8.52 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2388/0.2388, allocations: 46.89 MB / 361.1 MB, free: 4.742 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-beta.om/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.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-beta.om_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-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 83.86 kB / 0.4967 GB, free: 7.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.4063, allocations: 65.99 MB / 0.5612 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004748/0.411, allocations: 2.867 MB / 0.564 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.4125, allocations: 0.7829 MB / 0.5648 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.4127, allocations: 11.94 kB / 0.5648 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.4129, allocations: 55.39 kB / 0.5648 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.4132, allocations: 130.9 kB / 0.5649 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003839/0.4136, allocations: 111.8 kB / 0.565 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005266/0.4141, allocations: 437.9 kB / 0.5655 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002755/0.4144, allocations: 109.6 kB / 0.5656 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003135/0.4147, allocations: 171.4 kB / 0.5657 GB, free: 352 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.415, allocations: 183.1 kB / 0.5659 GB, free: 168 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.258e-05/0.415, allocations: 32 kB / 0.5659 GB, free: 136 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.4151, allocations: 43.92 kB / 0.566 GB, free: 92 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.567e-05/0.4152, allocations: 79.7 kB / 0.5661 GB, free: 12 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002253/0.4154, allocations: 195.1 kB / 0.5662 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005854/0.416, allocations: 440.9 kB / 0.5667 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.416, allocations: 0 / 0.5667 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.416, allocations: 0 / 0.5667 GB, free: 15.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.416, allocations: 0 / 0.5667 GB, free: 15.39 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.001156/0.4172, allocations: 0.6703 MB / 0.5673 GB, free: 14.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.4172, allocations: 8.031 kB / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003121/0.4175, allocations: 60.67 kB / 0.5674 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004904/0.418, allocations: 292.5 kB / 0.5677 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.922e-05/0.4181, allocations: 29.38 kB / 0.5677 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-05/0.4181, allocations: 44.33 kB / 0.5677 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006831/0.4188, allocations: 390.5 kB / 0.5681 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/0.4189, allocations: 11.95 kB / 0.5681 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.4189, allocations: 16 kB / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.4189, allocations: 8 kB / 0.5681 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004566/0.4194, allocations: 215.7 kB / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/0.4216, allocations: 1.723 MB / 0.57 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004819/0.4221, allocations: 258.3 kB / 0.5703 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.4223, allocations: 86.08 kB / 0.5704 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.4223, allocations: 8 kB / 0.5704 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.4224, allocations: 42.5 kB / 0.5704 GB, free: 11.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.452e-06/0.4224, allocations: 0 / 0.5704 GB, free: 11.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.0007258/0.4231, allocations: 269.5 kB / 0.5707 GB, free: 10.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001636/0.4233, allocations: 217.6 kB / 0.5709 GB, free: 10.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.4236, allocations: 275.2 kB / 0.5711 GB, free: 10.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.4236, allocations: 29.7 kB / 0.5712 GB, free: 10.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/0.4238, allocations: 247.9 kB / 0.5714 GB, free: 10.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.424, allocations: 123.1 kB / 0.5715 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.4241, allocations: 102.3 kB / 0.5716 GB, free: 9.922 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.4243, allocations: 346.8 kB / 0.5719 GB, free: 9.574 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.4245, allocations: 97.75 kB / 0.572 GB, free: 9.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004605/0.4249, allocations: 428.8 kB / 0.5724 GB, free: 8.902 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000738/0.4257, allocations: 0.5706 MB / 0.573 GB, free: 8.172 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.4257, allocations: 7.938 kB / 0.573 GB, free: 8.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008464/0.4265, allocations: 0.5284 MB / 0.5735 GB, free: 7.629 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.4266, allocations: 8 kB / 0.5735 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.4266, allocations: 12 kB / 0.5735 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.465e-05/0.4266, allocations: 16 kB / 0.5736 GB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004379/0.427, allocations: 148.4 kB / 0.5737 GB, free: 7.449 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.614e-05/0.4271, allocations: 31.8 kB / 0.5737 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.4273, allocations: 67.56 kB / 0.5738 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.4274, allocations: 36 kB / 0.5738 GB, free: 7.316 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.0001777/0.4276, allocations: 181.5 kB / 0.574 GB, free: 7.129 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.4277, allocations: 35.8 kB / 0.574 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.214e-05/0.4278, allocations: 33.83 kB / 0.5741 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.4278, allocations: 4 kB / 0.5741 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.4278, allocations: 4 kB / 0.5741 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4278, allocations: 4 kB / 0.5741 GB, free: 7.047 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.429, allocations: 0.6514 MB / 0.5747 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.429, allocations: 4 kB / 0.5747 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004321/0.4295, allocations: 91.88 kB / 0.5748 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.4295, allocations: 4 kB / 0.5748 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.4295, allocations: 8 kB / 0.5748 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.4295, allocations: 12 kB / 0.5748 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.4295, allocations: 4 kB / 0.5748 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008276/0.4303, allocations: 0.8261 MB / 0.5756 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.4305, allocations: 108.8 kB / 0.5757 GB, free: 5.227 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.283e-05/0.4305, allocations: 15.98 kB / 0.5758 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.4308, allocations: 11.94 kB / 0.5758 GB, free: 5.199 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.573e-05/0.4309, allocations: 27.91 kB / 0.5758 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.4309, allocations: 8.125 kB / 0.5758 GB, free: 5.164 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001874/0.4311, allocations: 190 kB / 0.576 GB, free: 4.977 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4311, allocations: 0 / 0.576 GB, free: 4.977 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006821/0.4318, allocations: 99.89 kB / 0.5761 GB, free: 4.879 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.0001373/0.4319, allocations: 107.2 kB / 0.5762 GB, free: 4.766 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005395/0.4325, allocations: 290.1 kB / 0.5765 GB, free: 4.484 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4325, allocations: 0 / 0.5765 GB, free: 4.484 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.4326, allocations: 87.83 kB / 0.5765 GB, free: 4.398 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009631/0.4336, allocations: 81.81 kB / 0.5766 GB, free: 4.324 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/0.4359, allocations: 1.557 MB / 0.5781 GB, free: 2.715 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.4363, allocations: 0.8065 MB / 0.5789 GB, free: 1.879 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001464/0.4365, allocations: 43.27 kB / 0.579 GB, free: 1.836 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.583e-05/0.4366, allocations: 31.42 kB / 0.579 GB, free: 1.805 MB / 414.1 MB Notification: Performance of SimCode: time 4.4e-07/0.4366, allocations: 0 / 0.579 GB, free: 1.805 MB / 414.1 MB Notification: Performance of Templates: time 0.007612/0.4442, allocations: 3.147 MB / 0.5821 GB, free: 14.67 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.349878140725195]