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.001337/0.001337, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001499/0.001499, allocations: 211.4 kB / 23.73 MB, free: 4.387 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.427/1.427, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2303/0.2303, allocations: 46.95 MB / 360.9 MB, free: 4.141 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 67.91 kB / 0.4961 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3101, allocations: 66.03 MB / 0.5606 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01428/0.3244, allocations: 10.05 MB / 0.5704 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008058/0.3325, allocations: 2.917 MB / 0.5733 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/0.3339, allocations: 67.75 kB / 0.5733 GB, free: 7.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003408/0.3373, allocations: 1.545 MB / 0.5748 GB, free: 5.609 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004217/0.3416, allocations: 1.623 MB / 0.5764 GB, free: 3.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004167/0.342, allocations: 115.8 kB / 0.5765 GB, free: 3.867 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005019/0.347, allocations: 3.298 MB / 0.5797 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002609/0.3496, allocations: 1.901 MB / 0.5816 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001951/0.3515, allocations: 1.168 MB / 0.5827 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003816/0.3554, allocations: 2.528 MB / 0.5852 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000639/0.356, allocations: 228 kB / 0.5854 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.3574, allocations: 0.6163 MB / 0.586 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001709/0.3591, allocations: 1.538 MB / 0.5875 GB, free: 8.535 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001597/0.3607, allocations: 1.276 MB / 0.5888 GB, free: 7.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007292/0.368, allocations: 5.963 MB / 0.5946 GB, free: 1.262 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.368, allocations: 0 / 0.5946 GB, free: 1.262 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.368, allocations: 0 / 0.5946 GB, free: 1.262 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001323/0.3682, allocations: 4 kB / 0.5946 GB, free: 1.258 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.00779/0.3759, allocations: 4.025 MB / 0.5985 GB, free: 13.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.376, allocations: 8.031 kB / 0.5985 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001067/0.3771, allocations: 0.6994 MB / 0.5992 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/0.3873, allocations: 2.981 MB / 0.6021 GB, free: 9.469 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006098/0.3934, allocations: 1.795 MB / 0.6039 GB, free: 7.645 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002501/0.3936, allocations: 188.7 kB / 0.6041 GB, free: 7.457 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001135/0.3948, allocations: 235.8 kB / 0.6043 GB, free: 7.227 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01891/0.4137, allocations: 9.756 MB / 0.6138 GB, free: 13.1 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.61e-05/0.4138, allocations: 19.81 kB / 0.6138 GB, free: 13.08 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003642/0.4141, allocations: 115.8 kB / 0.6139 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004243/0.4184, allocations: 2.369 MB / 0.6163 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01936/0.4377, allocations: 8.936 MB / 0.625 GB, free: 1.641 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05332/0.491, allocations: 28 MB / 0.6523 GB, free: 4.879 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006431/0.4975, allocations: 2.464 MB / 0.6547 GB, free: 2.398 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.4991, allocations: 1.016 MB / 0.6557 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01134/0.5104, allocations: 4.712 MB / 0.6603 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/0.5105, allocations: 55.16 kB / 0.6604 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 3.928e-06/0.5105, allocations: 0 / 0.6604 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.008125/0.5186, allocations: 3.139 MB / 0.6635 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.83e-05/0.5187, allocations: 111.5 kB / 0.6636 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004473/0.5231, allocations: 2.908 MB / 0.6664 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001505/0.5233, allocations: 41.7 kB / 0.6664 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00241/0.5257, allocations: 2.845 MB / 0.6692 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006743/0.5264, allocations: 0.535 MB / 0.6697 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001334/0.5277, allocations: 0.9408 MB / 0.6707 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.5279, allocations: 301.1 kB / 0.6709 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002216/0.5301, allocations: 1.403 MB / 0.6723 GB, free: 244 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004748/0.5348, allocations: 4.229 MB / 0.6764 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007981/0.5428, allocations: 6.151 MB / 0.6825 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.501e-05/0.5429, allocations: 32 kB / 0.6825 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01003/0.5529, allocations: 5.464 MB / 0.6878 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.673e-05/0.553, allocations: 48 kB / 0.6879 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001258/0.5531, allocations: 99.94 kB / 0.688 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001497/0.5533, allocations: 136.1 kB / 0.6881 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002913/0.5562, allocations: 0.9942 MB / 0.6891 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001832/0.5564, allocations: 199.2 kB / 0.6893 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002819/0.5592, allocations: 0.632 MB / 0.6899 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004244/0.5596, allocations: 288 kB / 0.6901 GB, free: 11.15 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.0032/0.5628, allocations: 1.981 MB / 0.6921 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004701/0.5633, allocations: 242.3 kB / 0.6923 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004761/0.5638, allocations: 288.8 kB / 0.6926 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001417/0.5639, allocations: 20 kB / 0.6926 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.5639, allocations: 4 kB / 0.6926 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.5639, allocations: 3.984 kB / 0.6926 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01416/0.5781, allocations: 6.019 MB / 0.6985 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-05/0.5781, allocations: 8 kB / 0.6985 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009981/0.5791, allocations: 164.6 kB / 0.6987 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.46e-05/0.5791, allocations: 12 kB / 0.6987 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/0.5792, allocations: 35.97 kB / 0.6987 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.331e-05/0.5793, allocations: 16 kB / 0.6987 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-05/0.5793, allocations: 15.94 kB / 0.6987 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003855/0.5831, allocations: 2.007 MB / 0.7007 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007152/0.5839, allocations: 242.2 kB / 0.7009 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004596/0.5843, allocations: 28.23 kB / 0.7009 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.5855, allocations: 51.95 kB / 0.701 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002265/0.5857, allocations: 91.94 kB / 0.7011 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001426/0.5859, allocations: 48 kB / 0.7011 GB, free: 15.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0036/0.5895, allocations: 1.666 MB / 0.7028 GB, free: 13.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5895, allocations: 0 / 0.7028 GB, free: 13.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003536/0.593, allocations: 1.036 MB / 0.7038 GB, free: 12.88 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.003261/0.5962, allocations: 2.665 MB / 0.7064 GB, free: 10.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005289/0.6015, allocations: 3.143 MB / 0.7094 GB, free: 6.961 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/0.6015, allocations: 0 / 0.7094 GB, free: 6.961 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.6027, allocations: 0.7386 MB / 0.7102 GB, free: 6.227 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/0.6045, allocations: 298.8 kB / 0.7104 GB, free: 5.938 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2765/0.8811, allocations: 31.04 MB / 0.7408 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002821/0.8839, allocations: 2.553 MB / 0.7433 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002756/0.8866, allocations: 1.555 MB / 0.7448 GB, free: 150 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001825/0.8885, allocations: 1.596 MB / 0.7463 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.483e-06/0.8885, allocations: 0 / 0.7463 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07066/0.9591, allocations: 41.1 MB / 0.7865 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/15.05, allocations: 15.91 kB / 0.7865 GB, free: 108.1 MB / 0.5606 GB " [Timeout remaining time 645] (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: 18.199383547063917]