Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001307/0.001307, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001529/0.001529, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.473/1.473, allocations: 230.3 MB / 258 MB, free: 8.195 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.2454/0.2454, allocations: 46.94 MB / 361.4 MB, free: 4.469 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.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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions") [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.00254/0.00254, allocations: 79.86 kB / 0.4972 GB, free: 7.52 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.38, allocations: 66.03 MB / 0.5616 GB, free: 4.547 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004342/0.3844, allocations: 2.878 MB / 0.5645 GB, free: 1.656 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001528/0.3859, allocations: 0.8101 MB / 0.5652 GB, free: 0.8398 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.3861, allocations: 15.88 kB / 0.5653 GB, free: 0.8242 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.3863, allocations: 67.31 kB / 0.5653 GB, free: 0.7578 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002366/0.3865, allocations: 122.9 kB / 0.5654 GB, free: 0.6367 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.3869, allocations: 119.8 kB / 0.5656 GB, free: 0.5195 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005196/0.3874, allocations: 450.3 kB / 0.566 GB, free: 76 kB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002851/0.3877, allocations: 138.8 kB / 0.5661 GB, free: 15.93 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002972/0.388, allocations: 183.4 kB / 0.5663 GB, free: 15.75 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.3883, allocations: 191.2 kB / 0.5665 GB, free: 15.57 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.238e-05/0.3883, allocations: 35.94 kB / 0.5665 GB, free: 15.53 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.3884, allocations: 40 kB / 0.5665 GB, free: 15.49 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.209e-05/0.3885, allocations: 91.62 kB / 0.5666 GB, free: 15.4 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.3887, allocations: 206.9 kB / 0.5668 GB, free: 15.2 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005451/0.3892, allocations: 460.6 kB / 0.5673 GB, free: 14.75 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.3893, allocations: 0 / 0.5673 GB, free: 14.75 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.603e-06/0.3893, allocations: 0 / 0.5673 GB, free: 14.75 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 8.236e-06/0.3893, allocations: 4 kB / 0.5673 GB, free: 14.75 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: 96
 * Number of variables: 96
Notification: Performance of Generate backend data structure: time 0.001068/0.3903, allocations: 0.6129 MB / 0.5679 GB, free: 14.11 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.3904, allocations: 8.031 kB / 0.5679 GB, free: 14.1 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003557/0.3907, allocations: 76.62 kB / 0.568 GB, free: 14.02 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.3912, allocations: 241.6 kB / 0.5682 GB, free: 13.76 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.3912, allocations: 33.31 kB / 0.5682 GB, free: 13.73 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.708e-05/0.3913, allocations: 40.38 kB / 0.5683 GB, free: 13.69 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006941/0.3919, allocations: 381.3 kB / 0.5686 GB, free: 13.3 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.392, allocations: 11.95 kB / 0.5686 GB, free: 13.29 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/0.392, allocations: 16 kB / 0.5686 GB, free: 13.27 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.392, allocations: 8 kB / 0.5687 GB, free: 13.27 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005418/0.3926, allocations: 252.3 kB / 0.5689 GB, free: 13.02 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.3943, allocations: 1.059 MB / 0.5699 GB, free: 11.91 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/0.3949, allocations: 319.5 kB / 0.5702 GB, free: 11.57 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.3952, allocations: 162.4 kB / 0.5704 GB, free: 11.4 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.3952, allocations: 8 kB / 0.5704 GB, free: 11.39 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.3953, allocations: 38.56 kB / 0.5704 GB, free: 11.34 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=39): time 1.933e-06/0.3953, allocations: 0 / 0.5704 GB, free: 11.34 MB / 414.1 MB
Notification: Performance of matching and sorting (n=57): time 0.003999/0.3993, allocations: 2.019 MB / 0.5724 GB, free: 9.172 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.766e-05/0.3994, allocations: 110.8 kB / 0.5725 GB, free: 9.039 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.3997, allocations: 245.9 kB / 0.5727 GB, free: 8.793 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.299e-05/0.3997, allocations: 37.7 kB / 0.5728 GB, free: 8.75 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.3999, allocations: 184.9 kB / 0.573 GB, free: 8.566 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.4, allocations: 206.2 kB / 0.5732 GB, free: 8.363 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.4002, allocations: 86.34 kB / 0.5732 GB, free: 8.273 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001888/0.4004, allocations: 354.7 kB / 0.5736 GB, free: 7.918 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.4007, allocations: 125.2 kB / 0.5737 GB, free: 7.797 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/0.401, allocations: 240.7 kB / 0.5739 GB, free: 7.523 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006611/0.4017, allocations: 398 kB / 0.5743 GB, free: 7.098 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4017, allocations: 0 / 0.5743 GB, free: 7.098 MB / 414.1 MB
Notification: Performance of matching and sorting (n=66) (initialization): time 0.001103/0.4028, allocations: 0.5501 MB / 0.5748 GB, free: 6.531 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.4028, allocations: 6.5 kB / 0.5748 GB, free: 6.527 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.4028, allocations: 4 kB / 0.5748 GB, free: 6.523 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0004242/0.4032, allocations: 130.5 kB / 0.575 GB, free: 6.387 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003994/0.4036, allocations: 95.88 kB / 0.5751 GB, free: 6.293 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004763/0.4084, allocations: 4.899 MB / 0.5798 GB, free: 1.055 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/0.4087, allocations: 19.98 kB / 0.5799 GB, free: 1.035 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.4087, allocations: 20 kB / 0.5799 GB, free: 1.016 MB / 414.1 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.0002414/0.409, allocations: 173.7 kB / 0.5801 GB, free: 0.8359 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.4091, allocations: 39.77 kB / 0.5801 GB, free: 0.7969 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.4092, allocations: 46.11 kB / 0.5801 GB, free: 0.75 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.4092, allocations: 8 kB / 0.5801 GB, free: 0.7422 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.165e-05/0.4092, allocations: 7.938 kB / 0.5802 GB, free: 0.7344 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.4092, allocations: 3.984 kB / 0.5802 GB, free: 0.7305 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.4113, allocations: 1.291 MB / 0.5814 GB, free: 15.37 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.4113, allocations: 4 kB / 0.5814 GB, free: 15.37 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004065/0.4117, allocations: 91.89 kB / 0.5815 GB, free: 15.28 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002842/0.412, allocations: 106.4 kB / 0.5816 GB, free: 15.16 MB / 430.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/0.412, allocations: 20.03 kB / 0.5816 GB, free: 15.14 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003504/0.4155, allocations: 4.106 MB / 0.5856 GB, free: 10.69 MB / 430.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.4155, allocations: 8.391 kB / 0.5856 GB, free: 10.68 MB / 430.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.4169, allocations: 0.918 MB / 0.5865 GB, free: 9.73 MB / 430.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.73e-05/0.417, allocations: 35.75 kB / 0.5866 GB, free: 9.695 MB / 430.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.417, allocations: 12.06 kB / 0.5866 GB, free: 9.684 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.4173, allocations: 19.98 kB / 0.5866 GB, free: 9.664 MB / 430.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.4174, allocations: 55.8 kB / 0.5867 GB, free: 9.609 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.4174, allocations: 19.98 kB / 0.5867 GB, free: 9.59 MB / 430.1 MB
Notification: Performance of sorting global known variables: time 0.0002086/0.4176, allocations: 169.2 kB / 0.5868 GB, free: 9.422 MB / 430.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.4176, allocations: 4 kB / 0.5868 GB, free: 9.418 MB / 430.1 MB
Notification: Performance of remove unused functions: time 0.0007196/0.4183, allocations: 120 kB / 0.587 GB, free: 9.301 MB / 430.1 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.0001505/0.4185, allocations: 115.2 kB / 0.5871 GB, free: 9.18 MB / 430.1 MB
Notification: Performance of simCode: created initialization part: time 0.001339/0.4198, allocations: 0.758 MB / 0.5878 GB, free: 8.387 MB / 430.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4198, allocations: 0 / 0.5878 GB, free: 8.387 MB / 430.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0007901/0.4206, allocations: 0.5642 MB / 0.5884 GB, free: 7.785 MB / 430.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006442/0.4213, allocations: 60.56 kB / 0.5884 GB, free: 7.73 MB / 430.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.4231, allocations: 1.115 MB / 0.5895 GB, free: 6.57 MB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/0.4236, allocations: 0.8202 MB / 0.5903 GB, free: 5.723 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 0.0001242/0.4237, allocations: 31.28 kB / 0.5903 GB, free: 5.691 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.421e-05/0.4238, allocations: 31.44 kB / 0.5904 GB, free: 5.66 MB / 430.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.4238, allocations: 4 kB / 0.5904 GB, free: 5.656 MB / 430.1 MB
Notification: Performance of Templates: time 0.01061/0.4344, allocations: 4.875 MB / 0.5951 GB, free: 0.793 MB / 430.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_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.506828675046563]