Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002372/0.002372, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.601/1.601, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2812/0.2812, allocations: 44.91 MB / 359.6 MB, free: 6.27 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002211, allocations: 67.89 kB / 0.4938 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3746, allocations: 65.47 MB / 0.5578 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01463/0.3892, allocations: 11.58 MB / 0.5691 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007534/0.3967, allocations: 3.088 MB / 0.5721 GB, free: 9.031 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002628/0.3994, allocations: 71.75 kB / 0.5722 GB, free: 8.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004118/0.4035, allocations: 1.596 MB / 0.5737 GB, free: 7.359 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004867/0.4083, allocations: 1.623 MB / 0.5753 GB, free: 5.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007148/0.4091, allocations: 115.8 kB / 0.5754 GB, free: 5.617 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005775/0.4148, allocations: 3.298 MB / 0.5786 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003417/0.4183, allocations: 1.909 MB / 0.5805 GB, free: 372 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002645/0.4209, allocations: 1.164 MB / 0.5816 GB, free: 15.19 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005537/0.4264, allocations: 2.602 MB / 0.5842 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009982/0.4274, allocations: 231.9 kB / 0.5844 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0023/0.4297, allocations: 0.7332 MB / 0.5851 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002719/0.4325, allocations: 1.538 MB / 0.5866 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003545/0.436, allocations: 1.816 MB / 0.5884 GB, free: 8.254 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009395/0.4454, allocations: 5.943 MB / 0.5942 GB, free: 2.285 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.099e-05/0.4454, allocations: 4 kB / 0.5942 GB, free: 2.281 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4454, allocations: 0 / 0.5942 GB, free: 2.281 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002514/0.4457, allocations: 0 / 0.5942 GB, free: 2.281 MB / 430.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.0117/0.4574, allocations: 4.025 MB / 0.5981 GB, free: 14.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.552e-05/0.4574, allocations: 8.031 kB / 0.5981 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002057/0.4576, allocations: 92.92 kB / 0.5982 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002338/0.46, allocations: 0.6915 MB / 0.5989 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01086/0.4708, allocations: 2.993 MB / 0.6018 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004234/0.4751, allocations: 1.771 MB / 0.6036 GB, free: 8.594 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002007/0.4753, allocations: 192.5 kB / 0.6037 GB, free: 8.402 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009582/0.4762, allocations: 235.8 kB / 0.604 GB, free: 8.172 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0177/0.4939, allocations: 9.76 MB / 0.6135 GB, free: 14.04 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.434e-05/0.494, allocations: 15.88 kB / 0.6135 GB, free: 14.02 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005193/0.4945, allocations: 111.8 kB / 0.6136 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00412/0.4986, allocations: 2.362 MB / 0.6159 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0188/0.5174, allocations: 8.951 MB / 0.6247 GB, free: 2.578 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05056/0.568, allocations: 29.47 MB / 0.6534 GB, free: 4.352 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006973/0.575, allocations: 2.475 MB / 0.6559 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00213/0.5771, allocations: 1.013 MB / 0.6569 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01318/0.5903, allocations: 4.915 MB / 0.6617 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.345e-05/0.5903, allocations: 43.22 kB / 0.6617 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 5.601e-06/0.5903, allocations: 0 / 0.6617 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.009274/0.5996, allocations: 3.135 MB / 0.6648 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.5997, allocations: 119.4 kB / 0.6649 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005159/0.6049, allocations: 2.742 MB / 0.6675 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002143/0.6051, allocations: 41.69 kB / 0.6676 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00308/0.6082, allocations: 2.845 MB / 0.6704 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009633/0.6091, allocations: 0.5427 MB / 0.6709 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002017/0.6112, allocations: 0.9369 MB / 0.6718 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.6113, allocations: 301.1 kB / 0.6721 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002704/0.614, allocations: 1.407 MB / 0.6735 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006261/0.6203, allocations: 4.225 MB / 0.6776 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009094/0.6294, allocations: 6.155 MB / 0.6836 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001103/0.6295, allocations: 32 kB / 0.6836 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01155/0.641, allocations: 5.464 MB / 0.689 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.014e-05/0.6411, allocations: 44 kB / 0.689 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001408/0.6413, allocations: 100 kB / 0.6891 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001598/0.6414, allocations: 136.1 kB / 0.6892 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003406/0.6448, allocations: 1.002 MB / 0.6902 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002298/0.6451, allocations: 199.5 kB / 0.6904 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0036/0.6487, allocations: 0.6281 MB / 0.691 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007208/0.6494, allocations: 288 kB / 0.6913 GB, free: 10.57 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.003863/0.6533, allocations: 1.973 MB / 0.6932 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005329/0.6538, allocations: 242.3 kB / 0.6935 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000716/0.6545, allocations: 292.8 kB / 0.6937 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.506e-05/0.6546, allocations: 16 kB / 0.6938 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.6546, allocations: 0 / 0.6938 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.6546, allocations: 7.984 kB / 0.6938 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0135/0.6681, allocations: 6.164 MB / 0.6998 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/0.6681, allocations: 8 kB / 0.6998 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007019/0.6688, allocations: 167.7 kB / 0.6999 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.065e-05/0.6688, allocations: 12 kB / 0.7 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-05/0.6689, allocations: 24 kB / 0.7 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.025e-05/0.6689, allocations: 19.92 kB / 0.7 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.348e-05/0.6689, allocations: 16.41 kB / 0.7 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003032/0.672, allocations: 2.011 MB / 0.702 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000672/0.6726, allocations: 246 kB / 0.7022 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003322/0.673, allocations: 28 kB / 0.7022 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007412/0.6737, allocations: 43.95 kB / 0.7023 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.6739, allocations: 88.19 kB / 0.7024 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.674, allocations: 51.92 kB / 0.7024 GB, free: 14.88 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00317/0.6771, allocations: 1.674 MB / 0.704 GB, free: 13.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6771, allocations: 0 / 0.704 GB, free: 13.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004694/0.6818, allocations: 1.028 MB / 0.7051 GB, free: 12.17 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.003751/0.6856, allocations: 2.669 MB / 0.7077 GB, free: 9.367 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005853/0.6914, allocations: 3.137 MB / 0.7107 GB, free: 6.254 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/0.6915, allocations: 1.812 kB / 0.7107 GB, free: 6.254 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.6927, allocations: 0.746 MB / 0.7115 GB, free: 5.512 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002073/0.6948, allocations: 311 kB / 0.7117 GB, free: 5.211 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3363/1.031, allocations: 31.05 MB / 0.7421 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004335/1.035, allocations: 3.101 MB / 0.7451 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003375/1.039, allocations: 1.545 MB / 0.7466 GB, free: 150 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002449/1.041, allocations: 1.597 MB / 0.7482 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of SimCode: time 2.554e-06/1.041, allocations: 0 / 0.7482 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07479/1.116, allocations: 45.61 MB / 0.7927 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.95/20.06, allocations: 6.812 kB / 0.7927 GB, free: 104.9 MB / 0.5606 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 24.124304031021893]