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.001319/0.001319, allocations: 109 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.001451/0.001451, allocations: 213.7 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.45/1.45, allocations: 230.3 MB / 258 MB, free: 8.219 MB / 206.1 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.2268/0.2268, allocations: 46.9 MB / 361.3 MB, free: 4.43 MB / 286.1 MB
"
[Timeout remaining time 180]
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 0.002285/0.002285, allocations: 75.88 kB / 0.497 GB, free: 7.594 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3427, allocations: 66.02 MB / 0.5615 GB, free: 4.621 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004239/0.3469, allocations: 2.882 MB / 0.5643 GB, free: 1.727 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00131/0.3483, allocations: 0.8062 MB / 0.5651 GB, free: 0.9141 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.3484, allocations: 15.94 kB / 0.5651 GB, free: 0.8984 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001952/0.3486, allocations: 63.31 kB / 0.5652 GB, free: 0.8359 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.3488, allocations: 134.9 kB / 0.5653 GB, free: 0.7031 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.3491, allocations: 123.7 kB / 0.5654 GB, free: 0.582 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00047/0.3496, allocations: 446.3 kB / 0.5659 GB, free: 144 kB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002572/0.3499, allocations: 138.8 kB / 0.566 GB, free: 0 / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002929/0.3502, allocations: 183.3 kB / 0.5662 GB, free: 15.82 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.3504, allocations: 195.2 kB / 0.5664 GB, free: 15.63 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.431e-05/0.3505, allocations: 36 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 9.547e-05/0.3506, allocations: 39.94 kB / 0.5664 GB, free: 15.55 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.986e-05/0.3506, allocations: 79.75 kB / 0.5665 GB, free: 15.48 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000205/0.3508, allocations: 214.9 kB / 0.5667 GB, free: 15.27 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005161/0.3514, allocations: 456.6 kB / 0.5672 GB, free: 14.82 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3514, allocations: 0 / 0.5672 GB, free: 14.82 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.273e-06/0.3514, allocations: 0 / 0.5672 GB, free: 14.82 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 7.624e-06/0.3514, allocations: 0 / 0.5672 GB, free: 14.82 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.001027/0.3524, allocations: 0.6105 MB / 0.5677 GB, free: 14.18 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3524, allocations: 12.03 kB / 0.5678 GB, free: 14.17 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00034/0.3528, allocations: 68.62 kB / 0.5678 GB, free: 14.1 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/0.3532, allocations: 249.6 kB / 0.5681 GB, free: 13.83 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.3532, allocations: 25.38 kB / 0.5681 GB, free: 13.81 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.313e-05/0.3533, allocations: 40.38 kB / 0.5681 GB, free: 13.77 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006949/0.354, allocations: 385.3 kB / 0.5685 GB, free: 13.38 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.354, allocations: 7.953 kB / 0.5685 GB, free: 13.37 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/0.354, allocations: 16 kB / 0.5685 GB, free: 13.35 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.354, allocations: 12 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005213/0.3545, allocations: 248.4 kB / 0.5688 GB, free: 13.1 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.3562, allocations: 1.059 MB / 0.5698 GB, free: 11.98 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005651/0.3567, allocations: 334.7 kB / 0.5701 GB, free: 11.63 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002949/0.357, allocations: 154.5 kB / 0.5703 GB, free: 11.47 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.3571, allocations: 4 kB / 0.5703 GB, free: 11.47 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.3571, allocations: 42.55 kB / 0.5703 GB, free: 11.42 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=39): time 1.443e-06/0.3571, allocations: 0 / 0.5703 GB, free: 11.42 MB / 414.1 MB
Notification: Performance of matching and sorting (n=57): time 0.003842/0.3609, allocations: 2.023 MB / 0.5723 GB, free: 9.242 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.361, allocations: 110.8 kB / 0.5724 GB, free: 9.109 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.3613, allocations: 241.9 kB / 0.5726 GB, free: 8.867 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.3613, allocations: 37.69 kB / 0.5727 GB, free: 8.824 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.3614, allocations: 184.9 kB / 0.5728 GB, free: 8.641 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.3616, allocations: 210.2 kB / 0.573 GB, free: 8.434 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.3617, allocations: 82.34 kB / 0.5731 GB, free: 8.348 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001615/0.3619, allocations: 354.7 kB / 0.5734 GB, free: 7.992 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.3622, allocations: 133.2 kB / 0.5736 GB, free: 7.863 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.3625, allocations: 232.8 kB / 0.5738 GB, free: 7.598 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006421/0.3632, allocations: 397.9 kB / 0.5742 GB, free: 7.172 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3632, allocations: 0 / 0.5742 GB, free: 7.172 MB / 414.1 MB
Notification: Performance of matching and sorting (n=66) (initialization): time 0.001042/0.3642, allocations: 0.5462 MB / 0.5747 GB, free: 6.609 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.3642, allocations: 16.08 kB / 0.5747 GB, free: 6.594 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.3642, allocations: 4 kB / 0.5747 GB, free: 6.59 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003581/0.3646, allocations: 118.5 kB / 0.5748 GB, free: 6.465 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/0.365, allocations: 103.8 kB / 0.5749 GB, free: 6.363 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004442/0.3694, allocations: 4.903 MB / 0.5797 GB, free: 1.121 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.3696, allocations: 19.98 kB / 0.5797 GB, free: 1.102 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.3697, allocations: 16 kB / 0.5798 GB, free: 1.086 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.0002103/0.3699, allocations: 171.5 kB / 0.5799 GB, free: 0.9102 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.871e-05/0.37, allocations: 39.77 kB / 0.58 GB, free: 0.8711 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.3701, allocations: 50.11 kB / 0.58 GB, free: 0.8203 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3701, allocations: 8.062 kB / 0.58 GB, free: 0.8125 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/0.3701, allocations: 7.938 kB / 0.58 GB, free: 0.8047 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-06/0.3701, allocations: 7.922 kB / 0.58 GB, free: 0.7969 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/0.3723, allocations: 1.289 MB / 0.5813 GB, free: 15.44 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3723, allocations: 0 / 0.5813 GB, free: 15.44 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004234/0.3727, allocations: 99.88 kB / 0.5814 GB, free: 15.34 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.000289/0.373, allocations: 94.61 kB / 0.5815 GB, free: 15.24 MB / 430.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.202e-05/0.373, allocations: 15.94 kB / 0.5815 GB, free: 15.23 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003565/0.3766, allocations: 4.118 MB / 0.5855 GB, free: 10.76 MB / 430.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3766, allocations: 0 / 0.5855 GB, free: 10.76 MB / 430.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.378, allocations: 0.9181 MB / 0.5864 GB, free: 9.809 MB / 430.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.668e-05/0.3781, allocations: 31.77 kB / 0.5864 GB, free: 9.777 MB / 430.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.604e-05/0.3781, allocations: 12.25 kB / 0.5865 GB, free: 9.766 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/0.3784, allocations: 23.98 kB / 0.5865 GB, free: 9.742 MB / 430.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.3785, allocations: 51.78 kB / 0.5865 GB, free: 9.691 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.3785, allocations: 19.98 kB / 0.5865 GB, free: 9.672 MB / 430.1 MB
Notification: Performance of sorting global known variables: time 0.0001785/0.3787, allocations: 173.2 kB / 0.5867 GB, free: 9.5 MB / 430.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3787, allocations: 0 / 0.5867 GB, free: 9.5 MB / 430.1 MB
Notification: Performance of remove unused functions: time 0.0006892/0.3794, allocations: 120 kB / 0.5868 GB, free: 9.383 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.0001546/0.3796, allocations: 111.2 kB / 0.5869 GB, free: 9.266 MB / 430.1 MB
Notification: Performance of simCode: created initialization part: time 0.001382/0.3809, allocations: 0.7613 MB / 0.5877 GB, free: 8.469 MB / 430.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3809, allocations: 0 / 0.5877 GB, free: 8.469 MB / 430.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0008397/0.3818, allocations: 0.5645 MB / 0.5882 GB, free: 7.867 MB / 430.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006408/0.3824, allocations: 72.2 kB / 0.5883 GB, free: 7.801 MB / 430.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.3842, allocations: 1.101 MB / 0.5894 GB, free: 6.656 MB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004624/0.3847, allocations: 0.8202 MB / 0.5902 GB, free: 5.809 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 0.0001352/0.3848, allocations: 39.27 kB / 0.5902 GB, free: 5.77 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.485e-05/0.3849, allocations: 35.42 kB / 0.5902 GB, free: 5.734 MB / 430.1 MB
Notification: Performance of SimCode: time 4.91e-07/0.3849, allocations: 0 / 0.5902 GB, free: 5.734 MB / 430.1 MB
Notification: Performance of Templates: time 0.01037/0.3953, allocations: 4.874 MB / 0.595 GB, free: 0.8711 MB / 430.1 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.0.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.430366621352732]