Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.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.001315/0.001315, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001358/0.001358, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.504/1.504, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2351/0.2351, allocations: 46.9 MB / 357.4 MB, free: 10.49 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.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 83.84 kB / 0.4912 GB, free: 8.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1414, allocations: 65.99 MB / 0.5557 GB, free: 6.25 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.01502/0.1564, allocations: 12.03 MB / 0.5674 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01043/0.1668, allocations: 4.766 MB / 0.5721 GB, free: 5.375 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002392/0.1692, allocations: 83.69 kB / 0.5722 GB, free: 5.293 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006158/0.1754, allocations: 3.017 MB / 0.5751 GB, free: 2.266 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005653/0.181, allocations: 2.031 MB / 0.5771 GB, free: 232 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.1834, allocations: 0.8381 MB / 0.5779 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007895/0.1913, allocations: 4.111 MB / 0.5819 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005331/0.1966, allocations: 2.845 MB / 0.5847 GB, free: 8.371 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003444/0.2, allocations: 1.752 MB / 0.5864 GB, free: 6.613 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003933/0.204, allocations: 2.363 MB / 0.5887 GB, free: 4.242 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000869/0.2048, allocations: 316 kB / 0.589 GB, free: 3.934 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002694/0.2075, allocations: 1.237 MB / 0.5902 GB, free: 2.695 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00255/0.2101, allocations: 2.025 MB / 0.5922 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3231/0.5332, allocations: 2.274 MB / 0.5944 GB, free: 9.863 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0139/0.5471, allocations: 7.169 MB / 0.6014 GB, free: 8.941 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.868e-06/0.5471, allocations: 1.375 kB / 0.6014 GB, free: 8.941 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5471, allocations: 0 / 0.6014 GB, free: 8.941 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003371/0.5475, allocations: 0 / 0.6014 GB, free: 8.941 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: 1597 * Number of variables: 1597 Notification: Performance of Generate backend data structure: time 0.01775/0.5652, allocations: 5.485 MB / 0.6068 GB, free: 6.672 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/0.5653, allocations: 10.75 kB / 0.6068 GB, free: 6.672 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00202/0.5673, allocations: 0.7542 MB / 0.6075 GB, free: 6.594 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007319/0.5746, allocations: 1.91 MB / 0.6094 GB, free: 6.258 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007729/0.5823, allocations: 2.789 MB / 0.6121 GB, free: 5.598 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003313/0.5827, allocations: 233.7 kB / 0.6123 GB, free: 5.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001854/0.5845, allocations: 317.2 kB / 0.6126 GB, free: 5.586 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02876/0.6133, allocations: 11.19 MB / 0.6236 GB, free: 1.188 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003438/0.6136, allocations: 47.38 kB / 0.6236 GB, free: 1.184 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001859/0.6155, allocations: 155.2 kB / 0.6238 GB, free: 1.117 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004355/0.6198, allocations: 2.296 MB / 0.626 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02274/0.6426, allocations: 9.87 MB / 0.6356 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07727/0.7198, allocations: 44.19 MB / 0.6788 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01497/0.7348, allocations: 5.602 MB / 0.6843 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004738/0.7395, allocations: 2.92 MB / 0.6871 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02052/0.7601, allocations: 9.367 MB / 0.6963 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01182/0.7719, allocations: 3.368 MB / 0.6996 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=211): time 8.566e-06/0.7719, allocations: 3.938 kB / 0.6996 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=285): time 0.1309/0.9028, allocations: 33.62 MB / 0.7324 GB, free: 8.695 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.903, allocations: 158 kB / 0.7325 GB, free: 8.516 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009493/0.9125, allocations: 4.211 MB / 0.7367 GB, free: 4.273 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009439/0.9134, allocations: 65.7 kB / 0.7367 GB, free: 4.203 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004185/0.9176, allocations: 3.376 MB / 0.74 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002107/0.9197, allocations: 1.092 MB / 0.7411 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005186/0.9249, allocations: 1.344 MB / 0.7424 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.925, allocations: 305.1 kB / 0.7427 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006608/0.9317, allocations: 3.37 MB / 0.746 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01127/0.9429, allocations: 6.971 MB / 0.7528 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01746/0.9604, allocations: 11.18 MB / 0.7637 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001374/0.9605, allocations: 40 kB / 0.7637 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of matching and sorting (n=859) (initialization): time 0.03087/0.9914, allocations: 12.56 MB / 0.776 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001916/0.9916, allocations: 56 kB / 0.776 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002746/0.9919, allocations: 132.1 kB / 0.7762 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007923/0.9998, allocations: 2.639 MB / 0.7788 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006197/1.006, allocations: 1.474 MB / 0.7802 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0348/1.041, allocations: 23.41 MB / 0.8031 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006872/1.048, allocations: 435.3 kB / 0.8035 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001965/1.05, allocations: 387.9 kB / 0.8038 GB, free: 12.27 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 571 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent,rod3.color[3],rod3.color[2],rod3.color[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (760): * Single equations (assignments): 753 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,16,100.0%), (2,14,100.0%), (2,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,27)} Notification: Performance of prepare postOptimizeDAE: time 0.007156/1.057, allocations: 2.229 MB / 0.806 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001478/1.058, allocations: 429.1 kB / 0.8064 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01789/1.076, allocations: 7.976 MB / 0.8142 GB, free: 1.594 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-05/1.076, allocations: 28 kB / 0.8142 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.152e-05/1.076, allocations: 12 kB / 0.8143 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.008e-05/1.076, allocations: 11.95 kB / 0.8143 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03456/1.111, allocations: 14.55 MB / 0.8285 GB, free: 2.953 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.682e-05/1.111, allocations: 4 kB / 0.8285 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002391/1.113, allocations: 399.4 kB / 0.8289 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006103/1.119, allocations: 2.31 MB / 0.8311 GB, free: 240 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000634/1.12, allocations: 51.11 kB / 0.8312 GB, free: 192 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3242/1.444, allocations: 23.15 MB / 0.8538 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.444, allocations: 5.844 kB / 0.8538 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/1.458, allocations: 8.114 MB / 0.8617 GB, free: 208.4 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/1.459, allocations: 462.5 kB / 0.8621 GB, free: 208.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008465/1.46, allocations: 53.02 kB / 0.8622 GB, free: 208.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002004/1.462, allocations: 219.5 kB / 0.8624 GB, free: 208.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007193/1.463, allocations: 180.1 kB / 0.8626 GB, free: 208.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002362/1.463, allocations: 77.39 kB / 0.8626 GB, free: 208.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004048/1.467, allocations: 2.641 MB / 0.8652 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/1.467, allocations: 0 / 0.8652 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.007085/1.474, allocations: 1.339 MB / 0.8665 GB, free: 207.1 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (188): * Single equations (assignments): 179 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,16,100.0%), (3,13,88.9%), (3,13,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0139/1.488, allocations: 9.094 MB / 0.8754 GB, free: 203 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01243/1.5, allocations: 8.506 MB / 0.8837 GB, free: 194.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/1.5, allocations: 0 / 0.8837 GB, free: 194.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005291/1.506, allocations: 3.785 MB / 0.8874 GB, free: 190.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00429/1.51, allocations: 0.4937 MB / 0.8879 GB, free: 190.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08764/1.598, allocations: 60.24 MB / 0.9467 GB, free: 124.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003148/1.601, allocations: 3.578 MB / 0.9502 GB, free: 120.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004305/1.605, allocations: 2.136 MB / 0.9523 GB, free: 118.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002267/1.607, allocations: 2.077 MB / 0.9543 GB, free: 116.3 MB / 0.6387 GB Notification: Performance of SimCode: time 1.483e-06/1.607, allocations: 0 / 0.9543 GB, free: 116.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1519/1.759, allocations: 101.1 MB / 1.053 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.53/23.29, allocations: 3.938 kB / 1.053 GB, free: 15.55 MB / 0.6387 GB " [Timeout remaining time 637] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_PlanarLoopWithMove_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_PlanarLoopWithMove.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/PlanarLoopWithMove/PlanarLoopWithMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.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: 27.50299625378102]