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.Fourbar2.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.00141/0.00141, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001569/0.001569, allocations: 214.7 kB / 22.92 MB, free: 5.195 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.294/1.294, allocations: 230.5 MB / 256.4 MB, free: 8.266 MB / 206.1 MB " [Timeout remaining time 179] 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.Fourbar2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2",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.001806/0.001806, allocations: 63.89 kB / 376.1 MB, free: 4.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2202, allocations: 53.33 MB / 429.4 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2): time 0.01551/0.2357, allocations: 15.06 MB / 444.5 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009157/0.2448, allocations: 4.868 MB / 449.3 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/0.2465, allocations: 91.75 kB / 449.4 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005342/0.2518, allocations: 3.216 MB / 452.6 MB, free: 136 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0054/0.2572, allocations: 2.584 MB / 455.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.2591, allocations: 0.9866 MB / 456.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008469/0.2675, allocations: 7.044 MB / 463.3 MB, free: 5.488 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003542/0.2711, allocations: 3.209 MB / 466.5 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002766/0.2738, allocations: 2.219 MB / 468.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00405/0.2779, allocations: 3.516 MB / 472.2 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008143/0.2787, allocations: 484 kB / 472.7 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002487/0.2812, allocations: 1.533 MB / 474.2 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002494/0.2837, allocations: 2.929 MB / 477.1 MB, free: 7.516 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002979/0.2867, allocations: 3.281 MB / 480.4 MB, free: 4.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.2967, allocations: 10.55 MB / 491 MB, free: 9.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2967, allocations: 0 / 491 MB, free: 9.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2967, allocations: 0 / 491 MB, free: 9.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001635/0.2969, allocations: 0 / 491 MB, free: 9.625 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.01364/0.3105, allocations: 7.627 MB / 498.6 MB, free: 1.902 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.3105, allocations: 8.031 kB / 498.6 MB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001419/0.312, allocations: 1.133 MB / 499.7 MB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04086/0.3528, allocations: 7.547 MB / 0.4954 GB, free: 9.184 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009207/0.362, allocations: 4.667 MB / 0.4999 GB, free: 4.457 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002363/0.3623, allocations: 324.2 kB / 0.5003 GB, free: 4.137 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000883/0.3631, allocations: 435.7 kB / 0.5007 GB, free: 3.711 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02243/0.3856, allocations: 15.61 MB / 0.5159 GB, free: 3.172 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001244/0.3857, allocations: 55.52 kB / 0.516 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000539/0.3862, allocations: 207.8 kB / 0.5162 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004897/0.3911, allocations: 3.216 MB / 0.5193 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02421/0.4153, allocations: 13.91 MB / 0.5329 GB, free: 1.754 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.215/0.6303, allocations: 57.19 MB / 0.5887 GB, free: 50.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0102/0.6405, allocations: 6.191 MB / 0.5948 GB, free: 43.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002888/0.6434, allocations: 3.219 MB / 0.5979 GB, free: 40.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01381/0.6572, allocations: 14.31 MB / 0.6119 GB, free: 26.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.6573, allocations: 68.55 kB / 0.612 GB, free: 26.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=286): time 4.198e-06/0.6573, allocations: 0 / 0.612 GB, free: 26.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=336): time 0.1285/0.7858, allocations: 41.91 MB / 0.6529 GB, free: 440 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.7859, allocations: 214 kB / 0.6531 GB, free: 180 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006759/0.7927, allocations: 5.494 MB / 0.6585 GB, free: 10.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000431/0.7931, allocations: 77.64 kB / 0.6585 GB, free: 10.72 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003039/0.7961, allocations: 4.594 MB / 0.663 GB, free: 6.199 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001285/0.7974, allocations: 1.298 MB / 0.6643 GB, free: 4.891 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00243/0.7999, allocations: 1.798 MB / 0.6661 GB, free: 3.078 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.8, allocations: 301.1 kB / 0.6663 GB, free: 2.781 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006221/0.8062, allocations: 4.616 MB / 0.6708 GB, free: 14.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009876/0.8161, allocations: 9.599 MB / 0.6802 GB, free: 2.105 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01778/0.8338, allocations: 15.25 MB / 0.6951 GB, free: 392 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.779e-05/0.8339, allocations: 51.94 kB / 0.6952 GB, free: 340 kB / 0.4981 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.04255/0.8765, allocations: 18.95 MB / 0.7137 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.8766, allocations: 82.66 kB / 0.7138 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001667/0.8768, allocations: 172 kB / 0.7139 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02273/0.8995, allocations: 5.777 MB / 0.7196 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006782/0.9063, allocations: 2.047 MB / 0.7216 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2025/1.109, allocations: 25.64 MB / 0.7466 GB, free: 183 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006266/1.115, allocations: 0.5402 MB / 0.7471 GB, free: 183 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009502/1.116, allocations: 0.5004 MB / 0.7476 GB, free: 183 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 791 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (1057): * Single equations (assignments): 1049 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004018/1.12, allocations: 3.098 MB / 0.7506 GB, free: 182.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009159/1.121, allocations: 0.5215 MB / 0.7511 GB, free: 182.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0271/1.148, allocations: 12.57 MB / 0.7634 GB, free: 178.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.796e-05/1.148, allocations: 54.91 kB / 0.7635 GB, free: 178.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/1.148, allocations: 7.844 kB / 0.7635 GB, free: 178.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.979e-05/1.148, allocations: 15.56 kB / 0.7635 GB, free: 178.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03868/1.187, allocations: 24.17 MB / 0.7871 GB, free: 163.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.61e-05/1.187, allocations: 7 kB / 0.7871 GB, free: 163.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002752/1.19, allocations: 0.5724 MB / 0.7877 GB, free: 163.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01763/1.207, allocations: 4.804 MB / 0.7924 GB, free: 158.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004713/1.208, allocations: 60.62 kB / 0.7924 GB, free: 158.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01944/1.227, allocations: 20.92 MB / 0.8129 GB, free: 137.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/1.227, allocations: 8.078 kB / 0.8129 GB, free: 137.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02867/1.256, allocations: 16.99 MB / 0.8295 GB, free: 120.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/1.257, allocations: 0.5568 MB / 0.83 GB, free: 119.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007052/1.258, allocations: 63.77 kB / 0.8301 GB, free: 119.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002588/1.26, allocations: 255.6 kB / 0.8303 GB, free: 119.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005728/1.261, allocations: 185.6 kB / 0.8305 GB, free: 119.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002228/1.261, allocations: 87.92 kB / 0.8306 GB, free: 119.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003358/1.264, allocations: 3.424 MB / 0.8339 GB, free: 116 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/1.264, allocations: 0 / 0.8339 GB, free: 116 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005448/1.27, allocations: 1.683 MB / 0.8355 GB, free: 114.3 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (251): * Single equations (assignments): 243 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02829/1.298, allocations: 17.65 MB / 0.8528 GB, free: 96.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01108/1.309, allocations: 10.18 MB / 0.8627 GB, free: 86.37 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.463e-06/1.309, allocations: 0 / 0.8627 GB, free: 86.37 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003898/1.313, allocations: 3.713 MB / 0.8664 GB, free: 82.65 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002997/1.316, allocations: 0.6519 MB / 0.867 GB, free: 82.03 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2892/1.605, allocations: 86.17 MB / 0.9511 GB, free: 194.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003983/1.609, allocations: 4.619 MB / 0.9557 GB, free: 193.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005314/1.615, allocations: 2.976 MB / 0.9586 GB, free: 193.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003191/1.618, allocations: 2.917 MB / 0.9614 GB, free: 193.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.373e-06/1.618, allocations: 0 / 0.9614 GB, free: 193.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1449/1.763, allocations: 123.5 MB / 1.082 GB, free: 83.17 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 35.17/36.93, allocations: 7.938 kB / 1.082 GB, free: 83.16 MB / 0.5606 GB " [Timeout remaining time 623] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 39.166549591995135]