Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001557/0.001557, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002119/0.002119, allocations: 211.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 258.3 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 64.77 kB / 378.6 MB, free: 3.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2775, allocations: 53.37 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.02228/0.2998, allocations: 18.14 MB / 450.1 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01495/0.3148, allocations: 6.099 MB / 456.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004934/0.3197, allocations: 171.1 kB / 456.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01295/0.3327, allocations: 6.351 MB / 462.7 MB, free: 8.023 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008557/0.3412, allocations: 2.894 MB / 465.6 MB, free: 5.121 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005381/0.3466, allocations: 2.304 MB / 467.9 MB, free: 2.812 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01472/0.3613, allocations: 9.716 MB / 477.6 MB, free: 9.082 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008735/0.37, allocations: 6.217 MB / 483.8 MB, free: 2.766 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006042/0.3761, allocations: 3.253 MB / 487.1 MB, free: 15.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007766/0.3839, allocations: 4.472 MB / 491.5 MB, free: 11.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002191/0.386, allocations: 0.7148 MB / 492.3 MB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004793/0.3908, allocations: 1.955 MB / 494.2 MB, free: 8.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005931/0.3968, allocations: 3.916 MB / 498.1 MB, free: 4.422 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00831/0.4051, allocations: 4.399 MB / 0.4907 GB, free: 0 / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02066/0.4257, allocations: 13.88 MB / 0.5043 GB, free: 2.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.4257, allocations: 0 / 0.5043 GB, free: 2.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4258, allocations: 0 / 0.5043 GB, free: 2.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005539/0.4263, allocations: 3.938 kB / 0.5043 GB, free: 2.066 MB / 414.1 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.03108/0.4574, allocations: 9.577 MB / 0.5137 GB, free: 8.406 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.4574, allocations: 12.03 kB / 0.5137 GB, free: 8.395 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003666/0.4611, allocations: 1.131 MB / 0.5148 GB, free: 7.254 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7424/1.204, allocations: 23.28 MB / 0.5375 GB, free: 94.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01898/1.223, allocations: 7.455 MB / 0.5448 GB, free: 92.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003465/1.223, allocations: 440.5 kB / 0.5452 GB, free: 92.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002246/1.225, allocations: 0.5758 MB / 0.5458 GB, free: 92.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03148/1.257, allocations: 16.86 MB / 0.5622 GB, free: 81.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003384/1.257, allocations: 87.38 kB / 0.5623 GB, free: 80.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00181/1.259, allocations: 264.9 kB / 0.5626 GB, free: 80.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003835/1.263, allocations: 2.657 MB / 0.5652 GB, free: 78.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02738/1.29, allocations: 14.4 MB / 0.5792 GB, free: 63.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07312/1.363, allocations: 63.6 MB / 0.6413 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02344/1.387, allocations: 7.903 MB / 0.649 GB, free: 7.059 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007429/1.394, allocations: 4.591 MB / 0.6535 GB, free: 2.461 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03673/1.431, allocations: 17.46 MB / 0.6706 GB, free: 1.094 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.318e-05/1.431, allocations: 64.5 kB / 0.6706 GB, free: 1.023 MB / 478.1 MB Notification: Performance of pre-optimization done (n=281): time 6.322e-06/1.431, allocations: 0 / 0.6706 GB, free: 1.023 MB / 478.1 MB Notification: Performance of matching and sorting (n=374): time 0.261/1.692, allocations: 72.95 MB / 0.7419 GB, free: 8.129 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002591/1.692, allocations: 376.6 kB / 0.7422 GB, free: 7.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01208/1.704, allocations: 6.435 MB / 0.7485 GB, free: 1.246 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001083/1.705, allocations: 81.7 kB / 0.7486 GB, free: 1.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.2624/1.968, allocations: 5.014 MB / 0.7535 GB, free: 191.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002421/1.97, allocations: 1.43 MB / 0.7549 GB, free: 190.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004919/1.975, allocations: 1.845 MB / 0.7567 GB, free: 190.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.851e-05/1.975, allocations: 301.8 kB / 0.757 GB, free: 190 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008599/1.984, allocations: 5.664 MB / 0.7625 GB, free: 187.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01114/1.995, allocations: 10.62 MB / 0.7729 GB, free: 179.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01882/2.014, allocations: 17.36 MB / 0.7898 GB, free: 167 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000206/2.014, allocations: 49.34 kB / 0.7899 GB, free: 167 MB / 0.545 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.04264/2.056, allocations: 21.92 MB / 0.8113 GB, free: 148.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.00013/2.057, allocations: 76 kB / 0.8114 GB, free: 148.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002508/2.057, allocations: 172 kB / 0.8115 GB, free: 148.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01928/2.076, allocations: 6.854 MB / 0.8182 GB, free: 141.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007659/2.084, allocations: 2.076 MB / 0.8203 GB, free: 139.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04464/2.128, allocations: 36.11 MB / 0.8555 GB, free: 103 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00966/2.138, allocations: 0.7117 MB / 0.8562 GB, free: 102.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002279/2.14, allocations: 0.5116 MB / 0.8567 GB, free: 101.8 MB / 0.545 GB 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.008727/2.149, allocations: 3.426 MB / 0.8601 GB, free: 98.46 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002452/2.152, allocations: 0.617 MB / 0.8607 GB, free: 97.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.032/2.184, allocations: 16.03 MB / 0.8763 GB, free: 81.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-05/2.184, allocations: 44 kB / 0.8764 GB, free: 81.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.364e-05/2.184, allocations: 16 kB / 0.8764 GB, free: 81.69 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.071e-05/2.184, allocations: 19.94 kB / 0.8764 GB, free: 81.67 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05753/2.241, allocations: 31.2 MB / 0.9069 GB, free: 50.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-05/2.241, allocations: 4 kB / 0.9069 GB, free: 50.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00331/2.245, allocations: 0.6084 MB / 0.9075 GB, free: 49.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01767/2.262, allocations: 6.436 MB / 0.9137 GB, free: 43.02 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001059/2.263, allocations: 63.98 kB / 0.9138 GB, free: 42.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0416/2.305, allocations: 34.32 MB / 0.9473 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/2.305, allocations: 1.594 kB / 0.9473 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3263/2.631, allocations: 23.51 MB / 0.9703 GB, free: 169.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002002/2.633, allocations: 0.5836 MB / 0.9709 GB, free: 169.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002425/2.636, allocations: 63.48 kB / 0.9709 GB, free: 169.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005038/2.641, allocations: 431 kB / 0.9713 GB, free: 169.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001476/2.642, allocations: 265.3 kB / 0.9716 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003842/2.643, allocations: 95.03 kB / 0.9717 GB, free: 169.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006452/2.649, allocations: 4.106 MB / 0.9757 GB, free: 168.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.51e-07/2.649, allocations: 0 / 0.9757 GB, free: 168.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009777/2.659, allocations: 2.181 MB / 0.9778 GB, free: 168 MB / 0.545 GB 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.03629/2.695, allocations: 24.29 MB / 1.002 GB, free: 153.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01919/2.714, allocations: 13.65 MB / 1.015 GB, free: 140 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/2.714, allocations: 7.938 kB / 1.015 GB, free: 140 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008775/2.723, allocations: 6.022 MB / 1.021 GB, free: 133.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006446/2.73, allocations: 0.9472 MB / 1.022 GB, free: 133 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1546/2.884, allocations: 102.9 MB / 1.122 GB, free: 22.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007073/2.891, allocations: 5.269 MB / 1.127 GB, free: 16.96 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.01154/2.903, allocations: 3.025 MB / 1.13 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008492/2.911, allocations: 3.397 MB / 1.134 GB, free: 10.53 MB / 0.545 GB Notification: Performance of SimCode: time 1.904e-06/2.911, allocations: 0 / 1.134 GB, free: 10.53 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5306/3.442, allocations: 172.2 MB / 1.302 GB, free: 66.7 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.26/31.7, allocations: 7.984 kB / 1.302 GB, free: 66.69 MB / 0.5607 GB " [Timeout remaining time 628] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 34.328383908607066] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute1.phi', 'revolute1.w'] 31.898181417025626 31.908390722 31.479924496 Calling exit ...