Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.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.001042/0.001042, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008014/0.0008014, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8779/0.8779, allocations: 177 MB / 204.1 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/1.871e-05, allocations: 2.844 kB / 324.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.01077/0.01079, allocations: 15.62 MB / 340.1 MB, free: 164 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009331/0.02012, allocations: 5.865 MB / 346 MB, free: 10.28 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003242/0.02336, allocations: 171.1 kB / 346.2 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006377/0.02974, allocations: 6.386 MB / 352.6 MB, free: 3.703 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006531/0.03627, allocations: 2.994 MB / 355.6 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003694/0.03996, allocations: 2.451 MB / 358 MB, free: 14.24 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009863/0.04983, allocations: 11.13 MB / 369.1 MB, free: 3.094 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008882/0.05871, allocations: 7.23 MB / 376.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01098/0.06969, allocations: 4.947 MB / 381.3 MB, free: 6.809 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007335/0.07703, allocations: 4.649 MB / 386 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002908/0.07994, allocations: 0.7344 MB / 386.7 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004235/0.08417, allocations: 1.877 MB / 388.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004621/0.08879, allocations: 4.103 MB / 392.7 MB, free: 11.42 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006895/0.09569, allocations: 2.825 MB / 395.5 MB, free: 8.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01408/0.1098, allocations: 14.16 MB / 409.7 MB, free: 10.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1098, allocations: 4 kB / 409.7 MB, free: 10.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1098, allocations: 0 / 409.7 MB, free: 10.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005175/0.1103, allocations: 0 / 409.7 MB, free: 10.38 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2348 * Number of variables: 2348 Notification: Performance of Generate backend data structure: time 0.02344/0.1337, allocations: 9.768 MB / 419.4 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.1338, allocations: 11.98 kB / 419.4 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002385/0.1362, allocations: 1.135 MB / 420.6 MB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1427/0.2789, allocations: 24.09 MB / 444.7 MB, free: 7.258 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01356/0.2925, allocations: 6.808 MB / 451.5 MB, free: 376 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2937/0.5862, allocations: 431.1 kB / 451.9 MB, free: 109.9 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00311/0.5893, allocations: 0.5788 MB / 452.5 MB, free: 109.9 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02084/0.6101, allocations: 17.11 MB / 469.6 MB, free: 98.77 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000171/0.6103, allocations: 80.62 kB / 469.7 MB, free: 98.7 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004838/0.6108, allocations: 263.5 kB / 469.9 MB, free: 98.48 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00204/0.6128, allocations: 2.665 MB / 472.6 MB, free: 95.83 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01768/0.6305, allocations: 14.38 MB / 487 MB, free: 81.46 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05479/0.6853, allocations: 60.98 MB / 0.5351 GB, free: 20.09 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01217/0.6975, allocations: 8.132 MB / 0.543 GB, free: 11.96 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003538/0.701, allocations: 4.591 MB / 0.5475 GB, free: 7.379 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01812/0.7191, allocations: 17.08 MB / 0.5642 GB, free: 6.441 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.186e-05/0.7192, allocations: 60.56 kB / 0.5643 GB, free: 6.375 MB / 426.8 MB Notification: Performance of pre-optimization done (n=281): time 7.244e-06/0.7192, allocations: 3.969 kB / 0.5643 GB, free: 6.375 MB / 426.8 MB Notification: Performance of matching and sorting (n=374): time 0.3112/1.03, allocations: 75.54 MB / 0.638 GB, free: 154 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.056e-05/1.03, allocations: 379.2 kB / 0.6384 GB, free: 153.6 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007152/1.038, allocations: 7.424 MB / 0.6456 GB, free: 151.1 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009295/1.039, allocations: 84.45 kB / 0.6457 GB, free: 151 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001704/1.04, allocations: 4.986 MB / 0.6506 GB, free: 147.1 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001493/1.042, allocations: 1.405 MB / 0.652 GB, free: 145.8 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001981/1.044, allocations: 1.825 MB / 0.6538 GB, free: 143.9 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 3.397e-05/1.044, allocations: 309 kB / 0.654 GB, free: 143.6 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004134/1.048, allocations: 5.667 MB / 0.6596 GB, free: 137.9 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005143/1.053, allocations: 10.82 MB / 0.6701 GB, free: 124.7 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01168/1.065, allocations: 17.37 MB / 0.6871 GB, free: 105 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001217/1.065, allocations: 49.38 kB / 0.6872 GB, free: 105 MB / 474.8 MB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.0274/1.092, allocations: 21.92 MB / 0.7086 GB, free: 83.03 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.94e-05/1.092, allocations: 83.94 kB / 0.7086 GB, free: 82.95 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001198/1.092, allocations: 168 kB / 0.7088 GB, free: 82.79 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01075/1.103, allocations: 6.846 MB / 0.7155 GB, free: 75.92 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004685/1.108, allocations: 2.078 MB / 0.7175 GB, free: 73.84 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02827/1.136, allocations: 35.9 MB / 0.7526 GB, free: 37.61 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006842/1.143, allocations: 0.8425 MB / 0.7534 GB, free: 36.77 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001564/1.145, allocations: 0.4999 MB / 0.7539 GB, free: 36.27 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 779 * Number of states: 0 () * Number of discrete variables: 51 (sensorJoint4.arrowColor[3],sensorJoint4.arrowColor[2],sensorJoint4.arrowColor[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],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute4cut.cylinderColor[3],revolute4cut.cylinderColor[2],revolute4cut.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1015): * Single equations (assignments): 1008 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,68,84.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,24)} Notification: Performance of prepare postOptimizeDAE: time 0.006261/1.151, allocations: 3.428 MB / 0.7572 GB, free: 32.84 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001929/1.153, allocations: 0.6131 MB / 0.7578 GB, free: 32.22 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01853/1.171, allocations: 16.03 MB / 0.7735 GB, free: 16.12 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001002/1.171, allocations: 48 kB / 0.7735 GB, free: 16.07 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.043e-05/1.171, allocations: 20 kB / 0.7736 GB, free: 16.05 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.655e-05/1.172, allocations: 19.92 kB / 0.7736 GB, free: 16.03 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2161/1.388, allocations: 30.18 MB / 0.803 GB, free: 141.5 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-05/1.388, allocations: 3.906 kB / 0.803 GB, free: 141.5 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001966/1.39, allocations: 0.6104 MB / 0.8036 GB, free: 141.5 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01046/1.4, allocations: 6.426 MB / 0.8099 GB, free: 140.4 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000858/1.401, allocations: 59.81 kB / 0.81 GB, free: 140.4 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02742/1.428, allocations: 34.16 MB / 0.8433 GB, free: 112.4 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.428, allocations: 6 kB / 0.8433 GB, free: 112.4 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02386/1.452, allocations: 23.51 MB / 0.8663 GB, free: 89.22 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002282/1.454, allocations: 0.6889 MB / 0.867 GB, free: 88.88 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001817/1.456, allocations: 60 kB / 0.867 GB, free: 88.82 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003646/1.46, allocations: 0.5264 MB / 0.8675 GB, free: 88.3 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001005/1.461, allocations: 262.5 kB / 0.8678 GB, free: 88.04 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002444/1.461, allocations: 98.48 kB / 0.8679 GB, free: 87.95 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.005877/1.467, allocations: 4.665 MB / 0.8724 GB, free: 83.29 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.81e-07/1.467, allocations: 0 / 0.8724 GB, free: 83.29 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.009063/1.476, allocations: 2.524 MB / 0.8749 GB, free: 80.79 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (revolute1.phi,revolute1.w) * 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 (243): * Single equations (assignments): 236 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,62,84.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02417/1.5, allocations: 24.3 MB / 0.8986 GB, free: 56.8 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01456/1.515, allocations: 13.65 MB / 0.912 GB, free: 43.21 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/1.515, allocations: 4 kB / 0.912 GB, free: 43.21 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006647/1.522, allocations: 6.032 MB / 0.9179 GB, free: 37.16 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005318/1.527, allocations: 0.9414 MB / 0.9188 GB, free: 36.25 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2929/1.82, allocations: 105.3 MB / 1.022 GB, free: 119.6 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00386/1.824, allocations: 4.782 MB / 1.026 GB, free: 114.8 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.004348/1.828, allocations: 3.055 MB / 1.029 GB, free: 111.9 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002954/1.831, allocations: 3.415 MB / 1.033 GB, free: 108.5 MB / 490.8 MB Notification: Performance of SimCode: time 1.804e-06/1.831, allocations: 0 / 1.033 GB, free: 108.5 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3402/2.171, allocations: 173.8 MB / 1.202 GB, free: 127.7 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.1/17.27, allocations: 2.062 kB / 1.202 GB, free: 127.7 MB / 0.4949 GB " [Timeout remaining time 643] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 19.851268988102674]