Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001742/0.001742, 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.00209/0.00209, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.523/1.523, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2503/0.2503, allocations: 46.92 MB / 361.6 MB, free: 4.254 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+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_1_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 75.81 kB / 0.4969 GB, free: 7.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3528, allocations: 66.02 MB / 0.5614 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01428/0.3671, allocations: 11.58 MB / 0.5727 GB, free: 8.816 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007295/0.3744, allocations: 3.084 MB / 0.5757 GB, free: 5.723 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002055/0.3765, allocations: 71.75 kB / 0.5758 GB, free: 5.652 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003858/0.3803, allocations: 1.596 MB / 0.5774 GB, free: 4.051 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004884/0.3852, allocations: 1.627 MB / 0.5789 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007233/0.3859, allocations: 115.8 kB / 0.5791 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005672/0.3916, allocations: 3.298 MB / 0.5823 GB, free: 15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003308/0.3949, allocations: 1.905 MB / 0.5841 GB, free: 13.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002614/0.3975, allocations: 1.164 MB / 0.5853 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004336/0.4019, allocations: 2.606 MB / 0.5878 GB, free: 9.273 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008529/0.4027, allocations: 232 kB / 0.588 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001777/0.4045, allocations: 0.7294 MB / 0.5887 GB, free: 8.316 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00187/0.4064, allocations: 1.542 MB / 0.5903 GB, free: 6.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002239/0.4086, allocations: 1.812 MB / 0.592 GB, free: 4.945 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007431/0.416, allocations: 5.935 MB / 0.5978 GB, free: 14.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.416, allocations: 0 / 0.5978 GB, free: 14.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.416, allocations: 0 / 0.5978 GB, free: 14.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001988/0.4162, allocations: 0 / 0.5978 GB, free: 14.98 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.009234/0.4255, allocations: 4.029 MB / 0.6018 GB, free: 10.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.4255, allocations: 8.031 kB / 0.6018 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001752/0.4257, allocations: 92.92 kB / 0.6019 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001339/0.427, allocations: 0.6954 MB / 0.6025 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/0.4375, allocations: 2.989 MB / 0.6055 GB, free: 7.094 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004344/0.4418, allocations: 1.779 MB / 0.6072 GB, free: 5.285 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000194/0.442, allocations: 188.5 kB / 0.6074 GB, free: 5.098 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009618/0.443, allocations: 235.8 kB / 0.6076 GB, free: 4.867 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0179/0.4609, allocations: 9.756 MB / 0.6171 GB, free: 10.74 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.376e-05/0.461, allocations: 19.81 kB / 0.6171 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005641/0.4615, allocations: 107.8 kB / 0.6172 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004206/0.4657, allocations: 2.369 MB / 0.6196 GB, free: 8.238 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01884/0.4846, allocations: 8.952 MB / 0.6283 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05067/0.5352, allocations: 29.46 MB / 0.6571 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006839/0.5421, allocations: 2.467 MB / 0.6595 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/0.5438, allocations: 1.013 MB / 0.6605 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01127/0.5551, allocations: 4.919 MB / 0.6653 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.321e-05/0.5551, allocations: 51.09 kB / 0.6653 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 5.46e-06/0.5552, allocations: 0 / 0.6653 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.008667/0.5638, allocations: 3.143 MB / 0.6684 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.5639, allocations: 111.5 kB / 0.6685 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005272/0.5692, allocations: 2.742 MB / 0.6712 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001934/0.5694, allocations: 37.7 kB / 0.6712 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002527/0.5719, allocations: 2.845 MB / 0.674 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007917/0.5727, allocations: 0.5505 MB / 0.6745 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001431/0.5741, allocations: 0.933 MB / 0.6754 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5743, allocations: 305.1 kB / 0.6757 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002175/0.5765, allocations: 1.403 MB / 0.6771 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004856/0.5813, allocations: 4.229 MB / 0.6812 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008424/0.5897, allocations: 6.151 MB / 0.6872 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001085/0.5899, allocations: 28 kB / 0.6873 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01036/0.6002, allocations: 5.463 MB / 0.6926 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.625e-05/0.6003, allocations: 48 kB / 0.6926 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001276/0.6004, allocations: 100 kB / 0.6927 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001434/0.6006, allocations: 132 kB / 0.6929 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003132/0.6037, allocations: 0.998 MB / 0.6938 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001849/0.6039, allocations: 195.2 kB / 0.694 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003026/0.6069, allocations: 0.632 MB / 0.6946 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004819/0.6074, allocations: 284 kB / 0.6949 GB, free: 7.285 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.003363/0.6108, allocations: 1.989 MB / 0.6969 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004424/0.6112, allocations: 242.3 kB / 0.6971 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005629/0.6118, allocations: 288.8 kB / 0.6974 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-05/0.6118, allocations: 16 kB / 0.6974 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.6118, allocations: 0 / 0.6974 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.6118, allocations: 7.922 kB / 0.6974 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/0.6231, allocations: 6.164 MB / 0.7034 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/0.6231, allocations: 8 kB / 0.7034 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007979/0.6239, allocations: 171.7 kB / 0.7036 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.937e-05/0.624, allocations: 16.03 kB / 0.7036 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.182e-05/0.624, allocations: 24 kB / 0.7036 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.888e-05/0.6241, allocations: 15.94 kB / 0.7036 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.407e-05/0.6241, allocations: 11.94 kB / 0.7036 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002904/0.627, allocations: 2.016 MB / 0.7056 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005659/0.6275, allocations: 246 kB / 0.7058 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002378/0.6278, allocations: 27.98 kB / 0.7059 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006434/0.6284, allocations: 47.95 kB / 0.7059 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.6286, allocations: 88.14 kB / 0.706 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-05/0.6287, allocations: 47.98 kB / 0.706 GB, free: 11.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002781/0.6315, allocations: 1.674 MB / 0.7077 GB, free: 9.891 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6315, allocations: 0 / 0.7077 GB, free: 9.891 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004463/0.6359, allocations: 1.028 MB / 0.7087 GB, free: 8.859 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.00358/0.6395, allocations: 2.665 MB / 0.7113 GB, free: 6.062 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005544/0.645, allocations: 3.146 MB / 0.7144 GB, free: 2.941 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/0.6451, allocations: 320 / 0.7144 GB, free: 2.941 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.6462, allocations: 0.7389 MB / 0.7151 GB, free: 2.207 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/0.648, allocations: 297.3 kB / 0.7154 GB, free: 1.922 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.308/0.956, allocations: 31.06 MB / 0.7457 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003038/0.959, allocations: 3.096 MB / 0.7487 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00274/0.9618, allocations: 1.549 MB / 0.7502 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001807/0.9636, allocations: 1.597 MB / 0.7518 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.623e-06/0.9636, allocations: 0 / 0.7518 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06938/1.033, allocations: 45.6 MB / 0.7963 GB, free: 99.26 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.99/20.02, allocations: 4.062 kB / 0.7963 GB, free: 99.25 MB / 0.5606 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Planes_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Planes.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 23.70811786100967]