Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.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.002087/0.002087, allocations: 110.4 kB / 21.23 MB, free: 0.5312 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.002056/0.002056, allocations: 213.6 kB / 24.54 MB, free: 3.922 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.509/1.509, allocations: 230.3 MB / 258 MB, free: 8.199 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.2305/0.2305, allocations: 46.89 MB / 361.3 MB, free: 4.449 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.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs")
translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 71.88 kB / 0.497 GB, free: 7.609 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.367, allocations: 66.03 MB / 0.5615 GB, free: 4.598 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.008031/0.375, allocations: 5.824 MB / 0.5672 GB, free: 14.75 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004367/0.3794, allocations: 2.384 MB / 0.5695 GB, free: 12.36 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0008966/0.3803, allocations: 55.5 kB / 0.5696 GB, free: 12.3 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0006011/0.3809, allocations: 234 kB / 0.5698 GB, free: 12.07 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005397/0.3814, allocations: 182.3 kB / 0.57 GB, free: 11.89 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.3827, allocations: 0.4908 MB / 0.5705 GB, free: 11.4 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001367/0.3841, allocations: 1.11 MB / 0.5715 GB, free: 10.28 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0007206/0.3848, allocations: 433.8 kB / 0.572 GB, free: 9.84 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005756/0.3854, allocations: 386.6 kB / 0.5723 GB, free: 9.461 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004461/0.3858, allocations: 394 kB / 0.5727 GB, free: 9.074 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.3859, allocations: 96 kB / 0.5728 GB, free: 8.98 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002995/0.3862, allocations: 163.9 kB / 0.5729 GB, free: 8.82 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002059/0.3864, allocations: 211.3 kB / 0.5732 GB, free: 8.613 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0004316/0.3869, allocations: 473.6 kB / 0.5736 GB, free: 8.148 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001443/0.3883, allocations: 1.286 MB / 0.5749 GB, free: 6.863 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3883, allocations: 0 / 0.5749 GB, free: 6.863 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.312e-06/0.3883, allocations: 0 / 0.5749 GB, free: 6.863 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 1.556e-05/0.3883, allocations: 0 / 0.5749 GB, free: 6.863 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: 230
 * Number of variables: 230
Notification: Performance of Generate backend data structure: time 0.001724/0.3901, allocations: 1.089 MB / 0.5759 GB, free: 5.742 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3901, allocations: 8.031 kB / 0.5759 GB, free: 5.734 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002747/0.3904, allocations: 120.2 kB / 0.576 GB, free: 5.617 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009431/0.3913, allocations: 0.5147 MB / 0.5765 GB, free: 5.074 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.335e-05/0.3914, allocations: 70 kB / 0.5766 GB, free: 5.004 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.3915, allocations: 95.94 kB / 0.5767 GB, free: 4.91 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.3931, allocations: 0.8891 MB / 0.5776 GB, free: 3.961 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.793e-05/0.3931, allocations: 11.92 kB / 0.5776 GB, free: 3.949 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.963e-05/0.3932, allocations: 40 kB / 0.5776 GB, free: 3.91 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.3932, allocations: 20 kB / 0.5776 GB, free: 3.891 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.3943, allocations: 0.5229 MB / 0.5782 GB, free: 3.363 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004232/0.3985, allocations: 3.509 MB / 0.5816 GB, free: 15.71 MB / 430.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006219/0.3991, allocations: 210.2 kB / 0.5818 GB, free: 15.49 MB / 430.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.3993, allocations: 96.8 kB / 0.5819 GB, free: 15.39 MB / 430.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/0.3994, allocations: 19.98 kB / 0.5819 GB, free: 15.38 MB / 430.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.3995, allocations: 42.5 kB / 0.5819 GB, free: 15.32 MB / 430.1 MB
Notification: Performance of pre-optimization done (n=30): time 2.955e-06/0.3995, allocations: 0 / 0.5819 GB, free: 15.32 MB / 430.1 MB
Notification: Performance of matching and sorting (n=35): time 0.002686/0.4022, allocations: 1.151 MB / 0.5831 GB, free: 14.11 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.4022, allocations: 63.34 kB / 0.5831 GB, free: 14.04 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000498/0.4027, allocations: 405.8 kB / 0.5835 GB, free: 13.63 MB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.4027, allocations: 29.7 kB / 0.5835 GB, free: 13.6 MB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003607/0.4031, allocations: 479.5 kB / 0.584 GB, free: 13.12 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.4032, allocations: 146.7 kB / 0.5841 GB, free: 12.98 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.4034, allocations: 102.3 kB / 0.5842 GB, free: 12.87 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001974/0.4036, allocations: 362.8 kB / 0.5846 GB, free: 12.5 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.4038, allocations: 113.3 kB / 0.5847 GB, free: 12.39 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003882/0.4042, allocations: 307 kB / 0.585 GB, free: 12.01 MB / 430.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006378/0.4048, allocations: 463.6 kB / 0.5854 GB, free: 11.47 MB / 430.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.4048, allocations: 0 / 0.5854 GB, free: 11.47 MB / 430.1 MB
Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008731/0.4057, allocations: 0.513 MB / 0.5859 GB, free: 10.95 MB / 430.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.4057, allocations: 10.34 kB / 0.5859 GB, free: 10.94 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.4057, allocations: 4 kB / 0.5859 GB, free: 10.93 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002292/0.4059, allocations: 48.77 kB / 0.586 GB, free: 10.88 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/0.4063, allocations: 120.4 kB / 0.5861 GB, free: 10.77 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004781/0.4068, allocations: 0.5601 MB / 0.5866 GB, free: 10.18 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.407, allocations: 23.98 kB / 0.5867 GB, free: 10.16 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.592e-05/0.4071, allocations: 24 kB / 0.5867 GB, free: 10.13 MB / 430.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 28
 * 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 (68):
 * Single equations (assignments): 67
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,2)}
Notification: Performance of prepare postOptimizeDAE: time 0.0003727/0.4074, allocations: 231 kB / 0.5869 GB, free: 9.898 MB / 430.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-05/0.4075, allocations: 55.61 kB / 0.587 GB, free: 9.844 MB / 430.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006728/0.4082, allocations: 331.2 kB / 0.5873 GB, free: 9.512 MB / 430.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.4082, allocations: 4 kB / 0.5873 GB, free: 9.508 MB / 430.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.4082, allocations: 0 / 0.5873 GB, free: 9.508 MB / 430.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.4082, allocations: 7.922 kB / 0.5873 GB, free: 9.5 MB / 430.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.4099, allocations: 1.027 MB / 0.5883 GB, free: 8.406 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4099, allocations: 0 / 0.5883 GB, free: 8.406 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003627/0.4102, allocations: 75.91 kB / 0.5884 GB, free: 8.332 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001409/0.4104, allocations: 36.77 kB / 0.5884 GB, free: 8.293 MB / 430.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.4104, allocations: 12 kB / 0.5884 GB, free: 8.281 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004297/0.4108, allocations: 0.5486 MB / 0.5889 GB, free: 7.707 MB / 430.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.4108, allocations: 4.031 kB / 0.5889 GB, free: 7.703 MB / 430.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008674/0.4117, allocations: 0.5524 MB / 0.5895 GB, free: 7.113 MB / 430.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.25e-05/0.4118, allocations: 47.66 kB / 0.5895 GB, free: 7.066 MB / 430.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-05/0.4118, allocations: 8 kB / 0.5895 GB, free: 7.059 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.412, allocations: 12 kB / 0.5895 GB, free: 7.047 MB / 430.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.109e-05/0.4121, allocations: 23.98 kB / 0.5896 GB, free: 7.023 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.4121, allocations: 16 kB / 0.5896 GB, free: 7.008 MB / 430.1 MB
Notification: Performance of sorting global known variables: time 0.0003407/0.4124, allocations: 275.1 kB / 0.5898 GB, free: 6.742 MB / 430.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.4124, allocations: 4 kB / 0.5899 GB, free: 6.738 MB / 430.1 MB
Notification: Performance of remove unused functions: time 0.0005941/0.413, allocations: 124 kB / 0.59 GB, free: 6.617 MB / 430.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 6
 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.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 (33):
 * Single equations (assignments): 32
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,2)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002204/0.4132, allocations: 123.1 kB / 0.5901 GB, free: 6.484 MB / 430.1 MB
Notification: Performance of simCode: created initialization part: time 0.0007055/0.4139, allocations: 320.4 kB / 0.5904 GB, free: 6.172 MB / 430.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4139, allocations: 192 / 0.5904 GB, free: 6.172 MB / 430.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002634/0.4142, allocations: 127.8 kB / 0.5905 GB, free: 6.047 MB / 430.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000528/0.4147, allocations: 86.11 kB / 0.5906 GB, free: 5.969 MB / 430.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.4175, allocations: 1.65 MB / 0.5922 GB, free: 4.273 MB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007352/0.4182, allocations: 0.9638 MB / 0.5932 GB, free: 3.285 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 0.0001982/0.4184, allocations: 60.53 kB / 0.5932 GB, free: 3.227 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.213e-05/0.4185, allocations: 39.42 kB / 0.5932 GB, free: 3.188 MB / 430.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.4185, allocations: 0 / 0.5932 GB, free: 3.188 MB / 430.1 MB
Notification: Performance of Templates: time 0.0115/0.43, allocations: 4.615 MB / 0.5978 GB, free: 14.59 MB / 446.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.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.302623885683715]