Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.001486/0.001486, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.00196/0.00196, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.526/1.526, allocations: 230.3 MB / 258 MB, free: 8.238 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.2392/0.2392, allocations: 46.94 MB / 361.4 MB, free: 4.43 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.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper")
translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [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.003408/0.003408, allocations: 75.88 kB / 0.4972 GB, free: 7.559 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4106, allocations: 66.04 MB / 0.5616 GB, free: 4.543 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004751/0.4154, allocations: 3.308 MB / 0.5649 GB, free: 1.223 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001565/0.4169, allocations: 0.845 MB / 0.5657 GB, free: 384 kB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.4171, allocations: 15.88 kB / 0.5657 GB, free: 368 kB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.4174, allocations: 75.23 kB / 0.5658 GB, free: 292 kB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.4177, allocations: 178.5 kB / 0.566 GB, free: 112 kB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.418, allocations: 107.8 kB / 0.5661 GB, free: 4 kB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000649/0.4186, allocations: 0.5986 MB / 0.5666 GB, free: 15.4 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002596/0.4189, allocations: 117.8 kB / 0.5668 GB, free: 15.28 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002773/0.4192, allocations: 235.2 kB / 0.567 GB, free: 15.05 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002891/0.4194, allocations: 239 kB / 0.5672 GB, free: 14.82 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.162e-05/0.4195, allocations: 40 kB / 0.5673 GB, free: 14.78 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.484e-05/0.4196, allocations: 44 kB / 0.5673 GB, free: 14.73 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.4197, allocations: 107.6 kB / 0.5674 GB, free: 14.63 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002542/0.4199, allocations: 270.7 kB / 0.5677 GB, free: 14.36 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006017/0.4205, allocations: 0.5627 MB / 0.5682 GB, free: 13.8 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4205, allocations: 0 / 0.5682 GB, free: 13.8 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.252e-06/0.4206, allocations: 0 / 0.5682 GB, free: 13.8 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 8.015e-06/0.4206, allocations: 0 / 0.5682 GB, free: 13.8 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: 119
 * Number of variables: 119
Notification: Performance of Generate backend data structure: time 0.001138/0.4217, allocations: 0.696 MB / 0.5689 GB, free: 13.07 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.4217, allocations: 8.031 kB / 0.5689 GB, free: 13.07 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.751e-05/0.4218, allocations: 56.61 kB / 0.5689 GB, free: 13.01 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004316/0.4223, allocations: 264.7 kB / 0.5692 GB, free: 12.73 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.324e-05/0.4223, allocations: 37.31 kB / 0.5692 GB, free: 12.69 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-05/0.4224, allocations: 56.31 kB / 0.5693 GB, free: 12.64 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006947/0.4231, allocations: 450.9 kB / 0.5697 GB, free: 12.18 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/0.4231, allocations: 7.953 kB / 0.5697 GB, free: 12.17 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.151e-05/0.4231, allocations: 20 kB / 0.5697 GB, free: 12.15 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.4232, allocations: 12 kB / 0.5698 GB, free: 12.14 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005264/0.4237, allocations: 308.5 kB / 0.5701 GB, free: 11.84 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.4254, allocations: 1.107 MB / 0.5711 GB, free: 10.68 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007281/0.4261, allocations: 388 kB / 0.5715 GB, free: 10.28 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/0.4264, allocations: 191.8 kB / 0.5717 GB, free: 10.09 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.4264, allocations: 8.375 kB / 0.5717 GB, free: 10.08 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.4265, allocations: 47.03 kB / 0.5717 GB, free: 10.03 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=62): time 1.683e-06/0.4265, allocations: 0 / 0.5717 GB, free: 10.03 MB / 414.1 MB
Notification: Performance of matching and sorting (n=74): time 0.002884/0.4293, allocations: 1.837 MB / 0.5735 GB, free: 8.102 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.924e-05/0.4294, allocations: 85.61 kB / 0.5736 GB, free: 7.996 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/0.4297, allocations: 256.1 kB / 0.5739 GB, free: 7.734 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.4297, allocations: 41.7 kB / 0.5739 GB, free: 7.688 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.4299, allocations: 205.4 kB / 0.5741 GB, free: 7.484 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002066/0.4301, allocations: 285.5 kB / 0.5744 GB, free: 7.203 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.4302, allocations: 126.6 kB / 0.5745 GB, free: 7.074 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001719/0.4304, allocations: 362.7 kB / 0.5748 GB, free: 6.711 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002692/0.4307, allocations: 157.9 kB / 0.575 GB, free: 6.555 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003516/0.431, allocations: 276.9 kB / 0.5752 GB, free: 6.246 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006553/0.4317, allocations: 475.8 kB / 0.5757 GB, free: 5.75 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4317, allocations: 0 / 0.5757 GB, free: 5.75 MB / 414.1 MB
Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008304/0.4325, allocations: 0.5632 MB / 0.5763 GB, free: 5.18 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.4325, allocations: 8.281 kB / 0.5763 GB, free: 5.172 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.4325, allocations: 8 kB / 0.5763 GB, free: 5.164 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.4326, allocations: 4 kB / 0.5763 GB, free: 5.16 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005762/0.4331, allocations: 175.8 kB / 0.5764 GB, free: 4.988 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.4331, allocations: 11.94 kB / 0.5764 GB, free: 4.977 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002714/0.4334, allocations: 24 kB / 0.5765 GB, free: 4.953 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.4335, allocations: 27.94 kB / 0.5765 GB, free: 4.926 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 (97):
 * Single equations (assignments): 97
 * 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.0001959/0.4336, allocations: 186.2 kB / 0.5767 GB, free: 4.734 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.231e-05/0.4337, allocations: 47.72 kB / 0.5767 GB, free: 4.688 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.4339, allocations: 55.64 kB / 0.5768 GB, free: 4.629 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.4339, allocations: 8 kB / 0.5768 GB, free: 4.621 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.4339, allocations: 0 / 0.5768 GB, free: 4.621 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.4339, allocations: 3.984 kB / 0.5768 GB, free: 4.617 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.4359, allocations: 1.412 MB / 0.5782 GB, free: 3.102 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.4359, allocations: 12 kB / 0.5782 GB, free: 3.09 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006404/0.4365, allocations: 159.8 kB / 0.5783 GB, free: 2.934 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.4366, allocations: 4 kB / 0.5783 GB, free: 2.93 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.967e-05/0.4366, allocations: 19.94 kB / 0.5784 GB, free: 2.91 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/0.4366, allocations: 8 kB / 0.5784 GB, free: 2.902 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.4366, allocations: 4 kB / 0.5784 GB, free: 2.898 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.4378, allocations: 0.9244 MB / 0.5793 GB, free: 1.926 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.106e-05/0.4379, allocations: 39.72 kB / 0.5793 GB, free: 1.887 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.915e-05/0.4379, allocations: 35.92 kB / 0.5793 GB, free: 1.852 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/0.4382, allocations: 12 kB / 0.5793 GB, free: 1.84 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.104e-05/0.4383, allocations: 52.34 kB / 0.5794 GB, free: 1.785 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/0.4384, allocations: 24 kB / 0.5794 GB, free: 1.762 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.000167/0.4385, allocations: 183 kB / 0.5796 GB, free: 1.586 MB / 414.1 MB
Notification: Performance of sort global known variables: time 6.1e-08/0.4385, allocations: 0 / 0.5796 GB, free: 1.586 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0006079/0.4391, allocations: 144 kB / 0.5797 GB, free: 1.445 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 13
 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel)
 * 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 (74):
 * Single equations (assignments): 74
 * 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.0001325/0.4393, allocations: 123.1 kB / 0.5799 GB, free: 1.316 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006895/0.4399, allocations: 432 kB / 0.5803 GB, free: 0.9023 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.44, allocations: 0 / 0.5803 GB, free: 0.9023 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003245/0.4403, allocations: 226.1 kB / 0.5805 GB, free: 0.6758 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009585/0.4412, allocations: 129.1 kB / 0.5806 GB, free: 0.5508 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.4439, allocations: 1.677 MB / 0.5822 GB, free: 14.81 MB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000604/0.4446, allocations: 0.8484 MB / 0.5831 GB, free: 13.93 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 0.0002038/0.4448, allocations: 56.66 kB / 0.5831 GB, free: 13.88 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.4449, allocations: 43.44 kB / 0.5832 GB, free: 13.83 MB / 430.1 MB
Notification: Performance of SimCode: time 2.91e-07/0.4449, allocations: 0 / 0.5832 GB, free: 13.83 MB / 430.1 MB
Notification: Performance of Templates: time 0.01271/0.4576, allocations: 5.843 MB / 0.5889 GB, free: 8.055 MB / 430.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.6433572713285685]