Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001427/0.001427, 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.001699/0.001699, 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.529/1.529, allocations: 230.3 MB / 258 MB, free: 8.23 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.2337/0.2337, 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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3")
translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 87.84 kB / 0.497 GB, free: 7.59 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3623, allocations: 66.02 MB / 0.5615 GB, free: 4.652 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002816/0.3651, allocations: 1.685 MB / 0.5632 GB, free: 2.957 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0002741/0.3654, allocations: 103.6 kB / 0.5633 GB, free: 2.855 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.684e-05/0.3654, allocations: 4 kB / 0.5633 GB, free: 2.852 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 5.287e-05/0.3655, allocations: 15.8 kB / 0.5633 GB, free: 2.836 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.3656, allocations: 39.7 kB / 0.5633 GB, free: 2.797 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.3657, allocations: 27.95 kB / 0.5633 GB, free: 2.77 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001854/0.3659, allocations: 131.4 kB / 0.5635 GB, free: 2.641 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.3661, allocations: 29.3 kB / 0.5635 GB, free: 2.609 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 9.532e-05/0.3662, allocations: 47.84 kB / 0.5635 GB, free: 2.562 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.646e-05/0.3663, allocations: 47.78 kB / 0.5636 GB, free: 2.516 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.3663, allocations: 12 kB / 0.5636 GB, free: 2.504 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 2.527e-05/0.3663, allocations: 8 kB / 0.5636 GB, free: 2.496 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.87e-05/0.3663, allocations: 15.94 kB / 0.5636 GB, free: 2.48 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 8.194e-05/0.3664, allocations: 63.72 kB / 0.5637 GB, free: 2.418 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.3666, allocations: 130 kB / 0.5638 GB, free: 2.297 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3666, allocations: 0 / 0.5638 GB, free: 2.297 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.663e-06/0.3666, allocations: 0 / 0.5638 GB, free: 2.297 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 7.073e-06/0.3666, allocations: 0 / 0.5638 GB, free: 2.297 MB / 398.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 28
 * Number of variables: 28
Notification: Performance of Generate backend data structure: time 0.0005763/0.3672, allocations: 330.2 kB / 0.5641 GB, free: 1.938 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3673, allocations: 12.03 kB / 0.5641 GB, free: 1.926 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.3673, allocations: 8.891 kB / 0.5641 GB, free: 1.918 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.3675, allocations: 146.3 kB / 0.5643 GB, free: 1.75 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.3675, allocations: 12.61 kB / 0.5643 GB, free: 1.738 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/0.3676, allocations: 12.38 kB / 0.5643 GB, free: 1.727 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.3678, allocations: 125.5 kB / 0.5644 GB, free: 1.594 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.3678, allocations: 4.141 kB / 0.5644 GB, free: 1.59 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.3679, allocations: 15.88 kB / 0.5644 GB, free: 1.574 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/0.3679, allocations: 0 / 0.5644 GB, free: 1.574 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.368, allocations: 67.83 kB / 0.5645 GB, free: 1.508 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008473/0.3689, allocations: 491.6 kB / 0.565 GB, free: 0.9805 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.369, allocations: 89.14 kB / 0.5651 GB, free: 0.875 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 4.821e-05/0.3691, allocations: 21.72 kB / 0.5651 GB, free: 0.8477 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.3691, allocations: 7.938 kB / 0.5651 GB, free: 0.8398 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.257e-05/0.3691, allocations: 42.5 kB / 0.5651 GB, free: 0.7891 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.3691, allocations: 0 / 0.5651 GB, free: 0.7891 MB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0005833/0.3697, allocations: 147.3 kB / 0.5653 GB, free: 0.6328 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.734e-05/0.3698, allocations: 85.11 kB / 0.5653 GB, free: 0.5312 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.3699, allocations: 117.8 kB / 0.5655 GB, free: 416 kB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.37, allocations: 29.7 kB / 0.5655 GB, free: 380 kB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.3701, allocations: 123.8 kB / 0.5656 GB, free: 252 kB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.3701, allocations: 27.75 kB / 0.5656 GB, free: 224 kB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/0.3702, allocations: 29.7 kB / 0.5657 GB, free: 188 kB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001956/0.3704, allocations: 326.8 kB / 0.566 GB, free: 15.86 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.034e-05/0.3704, allocations: 20 kB / 0.566 GB, free: 15.84 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.3705, allocations: 88.52 kB / 0.5661 GB, free: 15.72 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.3707, allocations: 124.5 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3707, allocations: 0 / 0.5662 GB, free: 15.57 MB / 414.1 MB
Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003016/0.371, allocations: 167.1 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.371, allocations: 10.03 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.371, allocations: 0 / 0.5664 GB, free: 15.38 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002228/0.3712, allocations: 45.64 kB / 0.5664 GB, free: 15.33 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3713, allocations: 23.92 kB / 0.5664 GB, free: 15.31 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/0.3737, allocations: 2.524 MB / 0.5689 GB, free: 12.56 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.145e-05/0.3737, allocations: 20.08 kB / 0.5689 GB, free: 12.54 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.3738, allocations: 8 kB / 0.5689 GB, free: 12.53 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 10
 * 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 (14):
 * Single equations (assignments): 12
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,1,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.3739, allocations: 123.6 kB / 0.569 GB, free: 12.4 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.3739, allocations: 4 kB / 0.569 GB, free: 12.4 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.112e-05/0.3739, allocations: 19.92 kB / 0.5691 GB, free: 12.37 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3739, allocations: 0 / 0.5691 GB, free: 12.37 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.374, allocations: 4 kB / 0.5691 GB, free: 12.37 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.374, allocations: 4 kB / 0.5691 GB, free: 12.36 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.3742, allocations: 184.5 kB / 0.5692 GB, free: 12.14 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3742, allocations: 7.984 kB / 0.5693 GB, free: 12.13 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.101e-05/0.3743, allocations: 8 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 9.746e-05/0.3744, allocations: 37.64 kB / 0.5693 GB, free: 12.08 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.3744, allocations: 3.938 kB / 0.5693 GB, free: 12.08 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/0.3764, allocations: 2.519 MB / 0.5718 GB, free: 9.332 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3764, allocations: 3.938 kB / 0.5718 GB, free: 9.328 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004065/0.3768, allocations: 308.6 kB / 0.5721 GB, free: 9.004 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.874e-05/0.3768, allocations: 7.938 kB / 0.5721 GB, free: 8.996 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.3768, allocations: 4 kB / 0.5721 GB, free: 8.992 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.3769, allocations: 0 / 0.5721 GB, free: 8.992 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.377, allocations: 15.92 kB / 0.5721 GB, free: 8.977 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.377, allocations: 0 / 0.5721 GB, free: 8.977 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 7.494e-05/0.3771, allocations: 99.27 kB / 0.5722 GB, free: 8.879 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3771, allocations: 0 / 0.5722 GB, free: 8.879 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0003593/0.3774, allocations: 39.89 kB / 0.5722 GB, free: 8.84 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi)
 * 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 (6):
 * Single equations (assignments): 4
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,1,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001507/0.3776, allocations: 95.25 kB / 0.5723 GB, free: 8.738 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004924/0.3781, allocations: 309.7 kB / 0.5726 GB, free: 8.41 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3781, allocations: 0 / 0.5726 GB, free: 8.41 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002784/0.3783, allocations: 257.3 kB / 0.5729 GB, free: 8.133 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.3788, allocations: 25.28 kB / 0.5729 GB, free: 8.109 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008117/0.3796, allocations: 477.2 kB / 0.5733 GB, free: 7.613 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.38, allocations: 0.7084 MB / 0.574 GB, free: 6.879 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 3.839e-05/0.38, allocations: 8.984 kB / 0.574 GB, free: 6.863 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.089e-05/0.38, allocations: 11.44 kB / 0.574 GB, free: 6.852 MB / 414.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.38, allocations: 0 / 0.574 GB, free: 6.852 MB / 414.1 MB
Notification: Performance of Templates: time 0.004676/0.3847, allocations: 1.602 MB / 0.5756 GB, free: 5.258 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.147731111384928]