Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001274/0.001274, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001436/0.001436, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.461/1.461, allocations: 230.5 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2324/0.2324, allocations: 46.95 MB / 361.6 MB, free: 3.949 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003489/0.003489, allocations: 75.88 kB / 0.4969 GB, free: 7.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.373, allocations: 66.08 MB / 0.5614 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01331/0.3863, allocations: 9.973 MB / 0.5712 GB, free: 9.941 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006785/0.3931, allocations: 2.913 MB / 0.574 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001601/0.3947, allocations: 71.75 kB / 0.5741 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003755/0.3984, allocations: 1.541 MB / 0.5756 GB, free: 5.402 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004565/0.403, allocations: 1.622 MB / 0.5772 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005769/0.4036, allocations: 119.8 kB / 0.5773 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005223/0.4088, allocations: 3.309 MB / 0.5805 GB, free: 352 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00291/0.4117, allocations: 1.897 MB / 0.5824 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0021/0.4138, allocations: 1.168 MB / 0.5835 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004314/0.4181, allocations: 2.599 MB / 0.586 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008267/0.419, allocations: 232 kB / 0.5863 GB, free: 10.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.4207, allocations: 0.6202 MB / 0.5869 GB, free: 9.781 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001981/0.4226, allocations: 1.538 MB / 0.5884 GB, free: 8.238 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002195/0.4248, allocations: 1.28 MB / 0.5896 GB, free: 6.949 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007783/0.4326, allocations: 5.967 MB / 0.5954 GB, free: 0.957 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.4326, allocations: 4 kB / 0.5954 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4326, allocations: 0 / 0.5954 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001985/0.4328, allocations: 3.938 kB / 0.5955 GB, free: 0.9492 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.008916/0.4417, allocations: 4.026 MB / 0.5994 GB, free: 12.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.4418, allocations: 16.02 kB / 0.5994 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001299/0.4419, allocations: 88.92 kB / 0.5995 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001561/0.4435, allocations: 0.6877 MB / 0.6002 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01062/0.4541, allocations: 2.989 MB / 0.6031 GB, free: 9.062 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004407/0.4585, allocations: 1.795 MB / 0.6048 GB, free: 7.238 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.4587, allocations: 192.5 kB / 0.605 GB, free: 7.047 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009378/0.4596, allocations: 231.8 kB / 0.6052 GB, free: 6.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01857/0.4782, allocations: 9.76 MB / 0.6148 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.757e-05/0.4783, allocations: 15.88 kB / 0.6148 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006284/0.4789, allocations: 115.8 kB / 0.6149 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004171/0.4831, allocations: 2.365 MB / 0.6172 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01908/0.5021, allocations: 8.953 MB / 0.6259 GB, free: 1.223 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04941/0.5516, allocations: 28.01 MB / 0.6533 GB, free: 4.457 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006762/0.5583, allocations: 2.464 MB / 0.6557 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001889/0.5602, allocations: 1.017 MB / 0.6567 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01129/0.5715, allocations: 4.713 MB / 0.6613 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.997e-05/0.5715, allocations: 43.22 kB / 0.6613 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 5.29e-06/0.5716, allocations: 0 / 0.6613 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.008955/0.5805, allocations: 3.143 MB / 0.6644 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.247e-05/0.5806, allocations: 111.5 kB / 0.6645 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004926/0.5855, allocations: 2.738 MB / 0.6672 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002302/0.5857, allocations: 41.7 kB / 0.6672 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002927/0.5887, allocations: 2.853 MB / 0.67 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007266/0.5894, allocations: 0.535 MB / 0.6705 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001542/0.5909, allocations: 0.9369 MB / 0.6714 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.5911, allocations: 305.1 kB / 0.6717 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00236/0.5935, allocations: 1.403 MB / 0.6731 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005665/0.5991, allocations: 4.229 MB / 0.6772 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008937/0.6081, allocations: 6.151 MB / 0.6832 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.878e-05/0.6082, allocations: 28 kB / 0.6833 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01069/0.6189, allocations: 5.46 MB / 0.6886 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.519e-05/0.619, allocations: 48 kB / 0.6886 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001486/0.6191, allocations: 100.2 kB / 0.6887 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001519/0.6193, allocations: 132 kB / 0.6889 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003262/0.6225, allocations: 1.002 MB / 0.6898 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002089/0.6227, allocations: 199.2 kB / 0.69 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003094/0.6258, allocations: 0.6359 MB / 0.6907 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006111/0.6264, allocations: 284 kB / 0.6909 GB, free: 10.9 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.003709/0.6301, allocations: 1.983 MB / 0.6929 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004551/0.6306, allocations: 242.3 kB / 0.6931 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006636/0.6313, allocations: 288.8 kB / 0.6934 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-05/0.6313, allocations: 16 kB / 0.6934 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.6313, allocations: 0 / 0.6934 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.6313, allocations: 7.984 kB / 0.6934 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01111/0.6424, allocations: 6.02 MB / 0.6993 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/0.6424, allocations: 12.22 kB / 0.6993 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007246/0.6432, allocations: 167.7 kB / 0.6994 GB, free: 2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.746e-05/0.6432, allocations: 15.94 kB / 0.6995 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.581e-05/0.6433, allocations: 27.98 kB / 0.6995 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.946e-05/0.6433, allocations: 15.94 kB / 0.6995 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-05/0.6433, allocations: 15.88 kB / 0.6995 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002823/0.6461, allocations: 2.015 MB / 0.7015 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006089/0.6467, allocations: 238 kB / 0.7017 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003318/0.6471, allocations: 35.97 kB / 0.7017 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007071/0.6478, allocations: 39.95 kB / 0.7018 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/0.6479, allocations: 84.2 kB / 0.7019 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.253e-05/0.648, allocations: 44 kB / 0.7019 GB, free: 15.36 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003124/0.6512, allocations: 1.674 MB / 0.7035 GB, free: 13.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6512, allocations: 0 / 0.7035 GB, free: 13.68 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004096/0.6553, allocations: 1.035 MB / 0.7046 GB, free: 12.64 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.003456/0.6587, allocations: 2.665 MB / 0.7072 GB, free: 9.836 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005349/0.6641, allocations: 3.141 MB / 0.7102 GB, free: 6.719 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-05/0.6641, allocations: 4 kB / 0.7102 GB, free: 6.715 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.6652, allocations: 0.7362 MB / 0.7109 GB, free: 5.984 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.6669, allocations: 297.5 kB / 0.7112 GB, free: 5.695 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2952/0.9622, allocations: 31.05 MB / 0.7416 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003251/0.9654, allocations: 2.549 MB / 0.744 GB, free: 150 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003043/0.9685, allocations: 1.551 MB / 0.7456 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002069/0.9705, allocations: 1.602 MB / 0.7471 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.362e-06/0.9705, allocations: 0 / 0.7471 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07071/1.041, allocations: 43.13 MB / 0.7892 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.15/20.19, allocations: 15.92 kB / 0.7893 GB, free: 105.5 MB / 0.5606 GB " [Timeout remaining time 640] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.765098579926416]