Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.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.001311/0.001311, 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.001912/0.001912, 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.595/1.595, allocations: 230.3 MB / 258 MB, free: 8.184 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.2362/0.2362, allocations: 46.94 MB / 361.4 MB, free: 4.379 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.MultiBody.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes")
translateModel(ModelicaTest.MultiBody.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes") [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.002314/0.002314, allocations: 79.86 kB / 0.4972 GB, free: 7.504 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3921, allocations: 66.04 MB / 0.5616 GB, free: 4.531 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01442/0.4065, allocations: 11.59 MB / 0.573 GB, free: 8.887 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.007111/0.4136, allocations: 3.072 MB / 0.576 GB, free: 5.809 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/0.415, allocations: 71.75 kB / 0.576 GB, free: 5.738 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003226/0.4182, allocations: 1.608 MB / 0.5776 GB, free: 4.125 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003832/0.4221, allocations: 1.619 MB / 0.5792 GB, free: 2.5 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.4225, allocations: 115.8 kB / 0.5793 GB, free: 2.387 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.004297/0.4268, allocations: 3.302 MB / 0.5825 GB, free: 15.08 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002105/0.4289, allocations: 1.702 MB / 0.5842 GB, free: 13.34 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001395/0.4303, allocations: 1.168 MB / 0.5853 GB, free: 12.17 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003416/0.4337, allocations: 2.599 MB / 0.5879 GB, free: 9.562 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0005337/0.4342, allocations: 228 kB / 0.5881 GB, free: 9.34 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.4356, allocations: 0.7411 MB / 0.5888 GB, free: 8.598 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001489/0.4371, allocations: 1.534 MB / 0.5903 GB, free: 7.059 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001905/0.439, allocations: 1.812 MB / 0.5921 GB, free: 5.234 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.008346/0.4473, allocations: 5.943 MB / 0.5979 GB, free: 15.27 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.4473, allocations: 0 / 0.5979 GB, free: 15.27 MB / 446.1 MB
Notification: Performance of FrontEnd: time 3.126e-06/0.4473, allocations: 0 / 0.5979 GB, free: 15.27 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 0.0001662/0.4475, allocations: 4 kB / 0.5979 GB, free: 15.26 MB / 446.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1485
 * Number of variables: 1485
Notification: Performance of Generate backend data structure: time 0.009902/0.4574, allocations: 4.025 MB / 0.6018 GB, free: 11.18 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.4574, allocations: 12.03 kB / 0.6018 GB, free: 11.17 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00929/0.4667, allocations: 2.985 MB / 0.6047 GB, free: 8.176 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.004525/0.4713, allocations: 1.783 MB / 0.6065 GB, free: 6.363 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001824/0.4714, allocations: 184.9 kB / 0.6066 GB, free: 6.18 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006433/0.4721, allocations: 239.8 kB / 0.6069 GB, free: 5.945 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01665/0.4887, allocations: 9.76 MB / 0.6164 GB, free: 11.81 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 5.317e-05/0.4888, allocations: 15.88 kB / 0.6164 GB, free: 11.79 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003346/0.4891, allocations: 115.8 kB / 0.6165 GB, free: 11.68 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003676/0.4928, allocations: 2.362 MB / 0.6188 GB, free: 9.312 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01742/0.5102, allocations: 8.951 MB / 0.6276 GB, free: 356 kB / 462.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04413/0.5543, allocations: 29.47 MB / 0.6564 GB, free: 2.121 MB / 494.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.006215/0.5606, allocations: 2.467 MB / 0.6588 GB, free: 15.64 MB / 0.4981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001534/0.5621, allocations: 1.013 MB / 0.6598 GB, free: 14.61 MB / 0.4981 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.01055/0.5726, allocations: 4.911 MB / 0.6646 GB, free: 9.676 MB / 0.4981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/0.5727, allocations: 51.09 kB / 0.6646 GB, free: 9.613 MB / 0.4981 GB
Notification: Performance of pre-optimization done (n=135): time 3.987e-06/0.5727, allocations: 0 / 0.6646 GB, free: 9.613 MB / 0.4981 GB
Notification: Performance of matching and sorting (n=135): time 0.007746/0.5804, allocations: 3.139 MB / 0.6677 GB, free: 6.469 MB / 0.4981 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.388e-05/0.5805, allocations: 111.5 kB / 0.6678 GB, free: 6.336 MB / 0.4981 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003909/0.5844, allocations: 2.746 MB / 0.6705 GB, free: 3.57 MB / 0.4981 GB
Notification: Performance of collectPreVariables (initialization): time 7.813e-05/0.5845, allocations: 37.7 kB / 0.6705 GB, free: 3.527 MB / 0.4981 GB
Notification: Performance of collectInitialEqns (initialization): time 0.002124/0.5866, allocations: 2.849 MB / 0.6733 GB, free: 0.6484 MB / 0.4981 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0004932/0.5871, allocations: 0.5388 MB / 0.6738 GB, free: 108 kB / 0.4981 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001147/0.5883, allocations: 0.9408 MB / 0.6747 GB, free: 15.15 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.000126/0.5884, allocations: 301.1 kB / 0.675 GB, free: 14.86 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002034/0.5904, allocations: 1.406 MB / 0.6764 GB, free: 13.44 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.004566/0.595, allocations: 4.225 MB / 0.6805 GB, free: 7.801 MB / 0.5137 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0074/0.6024, allocations: 6.147 MB / 0.6865 GB, free: 256 kB / 0.5137 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.35e-05/0.6025, allocations: 28 kB / 0.6865 GB, free: 228 kB / 0.5137 GB
Notification: Performance of matching and sorting (n=609) (initialization): time 0.009606/0.6121, allocations: 5.467 MB / 0.6919 GB, free: 10.75 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 7.819e-05/0.6121, allocations: 50.34 kB / 0.6919 GB, free: 10.7 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.582e-05/0.6122, allocations: 96.91 kB / 0.692 GB, free: 10.61 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001319/0.6124, allocations: 132 kB / 0.6921 GB, free: 10.48 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002679/0.6151, allocations: 0.9981 MB / 0.6931 GB, free: 9.48 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002119/0.6153, allocations: 199.2 kB / 0.6933 GB, free: 9.285 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002897/0.6182, allocations: 0.6358 MB / 0.6939 GB, free: 8.645 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003897/0.6186, allocations: 292.2 kB / 0.6942 GB, free: 8.359 MB / 0.5294 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 455
 * Number of states: 0 ()
 * Number of discrete variables: 21 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedFrameOfWireframe.color_x[3],fixedFrameOfWireframe.color_x[2],fixedFrameOfWireframe.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (551):
 * Single equations (assignments): 543
 * Array equations: 8
 * 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.004086/0.6226, allocations: 1.973 MB / 0.6961 GB, free: 6.371 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005455/0.6232, allocations: 242.3 kB / 0.6964 GB, free: 6.133 MB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005664/0.6238, allocations: 288.8 kB / 0.6966 GB, free: 5.844 MB / 0.5294 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.553e-05/0.6238, allocations: 20 kB / 0.6967 GB, free: 5.824 MB / 0.5294 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.6238, allocations: 0 / 0.6967 GB, free: 5.824 MB / 0.5294 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.6238, allocations: 7.984 kB / 0.6967 GB, free: 5.816 MB / 0.5294 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01115/0.635, allocations: 6.164 MB / 0.7027 GB, free: 15.49 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/0.635, allocations: 8 kB / 0.7027 GB, free: 15.48 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006393/0.6356, allocations: 163.7 kB / 0.7028 GB, free: 15.32 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.509e-05/0.6356, allocations: 12 kB / 0.7029 GB, free: 15.31 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.638e-05/0.6357, allocations: 31.98 kB / 0.7029 GB, free: 15.28 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.778e-05/0.6357, allocations: 23.86 kB / 0.7029 GB, free: 15.25 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.6357, allocations: 8.188 kB / 0.7029 GB, free: 15.25 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002481/0.6382, allocations: 2.008 MB / 0.7049 GB, free: 13.12 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004824/0.6387, allocations: 253.9 kB / 0.7051 GB, free: 12.87 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/0.6389, allocations: 28 kB / 0.7051 GB, free: 12.84 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005964/0.6395, allocations: 47.95 kB / 0.7052 GB, free: 12.79 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.6396, allocations: 80.19 kB / 0.7053 GB, free: 12.71 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.542e-05/0.6397, allocations: 55.98 kB / 0.7053 GB, free: 12.66 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 0.002338/0.6421, allocations: 1.67 MB / 0.707 GB, free: 10.98 MB / 0.545 GB
Notification: Performance of sort global known variables: time 9e-08/0.6421, allocations: 0 / 0.707 GB, free: 10.98 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.003406/0.6455, allocations: 1.032 MB / 0.708 GB, free: 9.945 MB / 0.545 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 34
 * 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 simulation (93):
 * Single equations (assignments): 87
 * Array equations: 6
 * 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.0003346/0.6458, allocations: 154.9 kB / 0.7081 GB, free: 9.781 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.004645/0.6504, allocations: 3.137 MB / 0.7112 GB, free: 6.676 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.6504, allocations: 4 kB / 0.7112 GB, free: 6.672 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0009449/0.6514, allocations: 0.7439 MB / 0.7119 GB, free: 5.93 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.6528, allocations: 307.1 kB / 0.7122 GB, free: 5.637 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/0.6654, allocations: 7.806 MB / 0.7198 GB, free: 13.69 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003525/0.6689, allocations: 3.096 MB / 0.7228 GB, free: 10.56 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.003234/0.6721, allocations: 1.548 MB / 0.7244 GB, free: 9.004 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003788/0.6725, allocations: 171.4 kB / 0.7245 GB, free: 8.836 MB / 0.5606 GB
Notification: Performance of SimCode: time 9.32e-07/0.6725, allocations: 0 / 0.7245 GB, free: 8.836 MB / 0.5606 GB
Notification: Performance of Templates: time 0.3116/0.9842, allocations: 21.02 MB / 0.745 GB, free: 150.7 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.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: 6.84457319509238]