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.002014/0.002014, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.002284/0.002284, allocations: 218.9 kB / 21.46 MB, free: 1.605 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.553/1.553, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2414/0.2414, allocations: 46.91 MB / 357.8 MB, free: 10.32 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.003305/0.003305, allocations: 67.91 kB / 0.4916 GB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1721, allocations: 65.98 MB / 0.556 GB, free: 5.887 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.0165/0.1886, allocations: 11.56 MB / 0.5673 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0079/0.1965, allocations: 3.076 MB / 0.5703 GB, free: 7.176 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00233/0.1988, allocations: 67.75 kB / 0.5704 GB, free: 7.109 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003908/0.2027, allocations: 1.592 MB / 0.572 GB, free: 5.512 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005144/0.2079, allocations: 1.607 MB / 0.5735 GB, free: 3.898 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006679/0.2085, allocations: 115.8 kB / 0.5736 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005529/0.2141, allocations: 3.299 MB / 0.5769 GB, free: 492 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00331/0.2174, allocations: 1.906 MB / 0.5787 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002253/0.2196, allocations: 1.164 MB / 0.5799 GB, free: 13.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004126/0.2237, allocations: 2.598 MB / 0.5824 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007871/0.2245, allocations: 231.9 kB / 0.5826 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001687/0.2262, allocations: 0.7255 MB / 0.5833 GB, free: 9.812 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001997/0.2282, allocations: 1.534 MB / 0.5848 GB, free: 8.273 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002971/0.2312, allocations: 1.812 MB / 0.5866 GB, free: 6.449 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008541/0.2397, allocations: 5.943 MB / 0.5924 GB, free: 492 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2397, allocations: 0 / 0.5924 GB, free: 492 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.2397, allocations: 0 / 0.5924 GB, free: 492 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002075/0.2399, allocations: 0 / 0.5924 GB, free: 492 kB / 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.2939/0.5338, allocations: 4.102 MB / 0.5964 GB, free: 33.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/0.5339, allocations: 10.83 kB / 0.5964 GB, free: 33.45 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002318/0.5341, allocations: 94.19 kB / 0.5965 GB, free: 33.44 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002005/0.5361, allocations: 0.6889 MB / 0.5972 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/0.5477, allocations: 2.99 MB / 0.6001 GB, free: 33.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004786/0.5525, allocations: 1.843 MB / 0.6019 GB, free: 32.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002893/0.5528, allocations: 185.9 kB / 0.6021 GB, free: 32.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001356/0.5541, allocations: 234.3 kB / 0.6023 GB, free: 32.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02062/0.5747, allocations: 9.762 MB / 0.6118 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001269/0.5749, allocations: 14.94 kB / 0.6118 GB, free: 28.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001142/0.576, allocations: 113.4 kB / 0.6119 GB, free: 28.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004098/0.5801, allocations: 2.372 MB / 0.6143 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01764/0.5977, allocations: 8.944 MB / 0.623 GB, free: 21.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04414/0.6419, allocations: 29.57 MB / 0.6519 GB, free: 6.941 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007558/0.6494, allocations: 3.361 MB / 0.6552 GB, free: 3.336 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001972/0.6514, allocations: 1.018 MB / 0.6562 GB, free: 2.305 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01287/0.6643, allocations: 6.474 MB / 0.6625 GB, free: 11.41 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.373e-05/0.6643, allocations: 47.14 kB / 0.6625 GB, free: 11.36 MB / 478.1 MB Notification: Performance of pre-optimization done (n=135): time 7.244e-06/0.6643, allocations: 3.984 kB / 0.6625 GB, free: 11.36 MB / 478.1 MB Notification: Performance of matching and sorting (n=135): time 0.009241/0.6736, allocations: 3.147 MB / 0.6656 GB, free: 8.203 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.866e-05/0.6737, allocations: 115.5 kB / 0.6657 GB, free: 8.066 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005419/0.6791, allocations: 2.734 MB / 0.6684 GB, free: 5.312 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001987/0.6793, allocations: 41.7 kB / 0.6684 GB, free: 5.266 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002777/0.6821, allocations: 2.853 MB / 0.6712 GB, free: 2.383 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000882/0.683, allocations: 0.5311 MB / 0.6717 GB, free: 1.848 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002159/0.6851, allocations: 0.9369 MB / 0.6726 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.6853, allocations: 309.1 kB / 0.6729 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002681/0.688, allocations: 1.403 MB / 0.6743 GB, free: 15.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005808/0.6938, allocations: 4.229 MB / 0.6784 GB, free: 9.539 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009009/0.7028, allocations: 6.159 MB / 0.6844 GB, free: 1.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001358/0.7029, allocations: 28 kB / 0.6845 GB, free: 1.953 MB / 494.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01277/0.7157, allocations: 5.464 MB / 0.6898 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001914/0.7159, allocations: 50.03 kB / 0.6899 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002698/0.7161, allocations: 103.9 kB / 0.69 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002782/0.7164, allocations: 128 kB / 0.6901 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005327/0.7217, allocations: 0.9981 MB / 0.6911 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000335/0.7221, allocations: 195.2 kB / 0.6912 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00589/0.728, allocations: 0.632 MB / 0.6919 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001194/0.7292, allocations: 287.9 kB / 0.6921 GB, free: 10.1 MB / 0.4981 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.005938/0.7351, allocations: 1.979 MB / 0.6941 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001022/0.7361, allocations: 238.4 kB / 0.6943 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/0.7374, allocations: 292.7 kB / 0.6946 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.032e-05/0.7374, allocations: 19.98 kB / 0.6946 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.072e-05/0.7375, allocations: 4 kB / 0.6946 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.942e-05/0.7375, allocations: 3.984 kB / 0.6946 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01923/0.7567, allocations: 6.188 MB / 0.7006 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.331e-05/0.7568, allocations: 8 kB / 0.7006 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.7579, allocations: 168.6 kB / 0.7008 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-05/0.758, allocations: 15.94 kB / 0.7008 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002092/0.7582, allocations: 35.98 kB / 0.7009 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.335e-05/0.7582, allocations: 19.92 kB / 0.7009 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-05/0.7582, allocations: 8 kB / 0.7009 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004344/0.7626, allocations: 2.007 MB / 0.7028 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/0.7636, allocations: 323.1 kB / 0.7032 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007295/0.7643, allocations: 28.12 kB / 0.7032 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001509/0.7658, allocations: 47.86 kB / 0.7032 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003305/0.7661, allocations: 91 kB / 0.7033 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002072/0.7664, allocations: 47.98 kB / 0.7034 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004978/0.7713, allocations: 1.666 MB / 0.705 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7713, allocations: 0 / 0.705 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006776/0.7781, allocations: 1.039 MB / 0.706 GB, free: 11.56 MB / 0.5137 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.005375/0.7835, allocations: 2.661 MB / 0.7086 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00801/0.7915, allocations: 3.138 MB / 0.7117 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.57e-05/0.7915, allocations: 5 kB / 0.7117 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.7933, allocations: 0.7336 MB / 0.7124 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00297/0.7963, allocations: 303.6 kB / 0.7127 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0697/0.866, allocations: 31.04 MB / 0.743 GB, free: 1.555 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006717/0.8727, allocations: 3.092 MB / 0.746 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004375/0.8771, allocations: 1.552 MB / 0.7475 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003788/0.8808, allocations: 1.601 MB / 0.7491 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of SimCode: time 1.894e-06/0.8808, allocations: 0 / 0.7491 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0872/0.968, allocations: 41.79 MB / 0.7899 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.93/16.9, allocations: 12.05 kB / 0.7899 GB, free: 1.699 MB / 0.5919 GB " [Timeout remaining time 643] (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: 20.803989319014363]