Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.001422/0.001422, allocations: 105 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.001616/0.001616, allocations: 218.1 kB / 22.92 MB, free: 5.195 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.319/1.319, allocations: 230.2 MB / 256.2 MB, free: 8.629 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1971/0.1971, allocations: 46.89 MB / 359.3 MB, free: 5.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.002108/0.002108, allocations: 76.19 kB / 0.494 GB, free: 9.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2627, allocations: 65.98 MB / 0.5584 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01134/0.274, allocations: 10.58 MB / 0.5687 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006194/0.2802, allocations: 3.275 MB / 0.5719 GB, free: 7.348 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/0.2813, allocations: 51.88 kB / 0.572 GB, free: 7.297 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004323/0.2856, allocations: 2.421 MB / 0.5744 GB, free: 4.867 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003102/0.2887, allocations: 1.244 MB / 0.5756 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.29, allocations: 0.5263 MB / 0.5761 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003744/0.2938, allocations: 2.916 MB / 0.5789 GB, free: 172 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002752/0.2965, allocations: 2.269 MB / 0.5812 GB, free: 13.85 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/0.2982, allocations: 1.265 MB / 0.5824 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002335/0.3006, allocations: 1.853 MB / 0.5842 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005305/0.3011, allocations: 300 kB / 0.5845 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001777/0.3029, allocations: 1.03 MB / 0.5855 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001413/0.3043, allocations: 1.62 MB / 0.5871 GB, free: 7.773 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001879/0.3062, allocations: 1.957 MB / 0.589 GB, free: 5.805 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006375/0.3125, allocations: 6.26 MB / 0.5951 GB, free: 15.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3125, allocations: 4 kB / 0.5951 GB, free: 15.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3125, allocations: 0 / 0.5951 GB, free: 15.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001216/0.3127, allocations: 0 / 0.5951 GB, free: 15.51 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: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.007337/0.32, allocations: 4.359 MB / 0.5994 GB, free: 11.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.32, allocations: 12.03 kB / 0.5994 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007823/0.3208, allocations: 0.703 MB / 0.6001 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005538/0.3264, allocations: 1.827 MB / 0.6018 GB, free: 8.523 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002666/0.329, allocations: 1.781 MB / 0.6036 GB, free: 6.691 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/0.3292, allocations: 221.8 kB / 0.6038 GB, free: 6.473 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000492/0.3297, allocations: 295.9 kB / 0.6041 GB, free: 6.184 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01789/0.3476, allocations: 10.66 MB / 0.6145 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-05/0.3477, allocations: 35.69 kB / 0.6145 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003636/0.348, allocations: 139.9 kB / 0.6146 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003436/0.3515, allocations: 2.044 MB / 0.6166 GB, free: 8.672 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01837/0.3698, allocations: 9.356 MB / 0.6258 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04306/0.4129, allocations: 37.9 MB / 0.6628 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01048/0.4234, allocations: 4.044 MB / 0.6667 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002647/0.426, allocations: 2.073 MB / 0.6688 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007803/0.4338, allocations: 6.117 MB / 0.6747 GB, free: 11.69 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/0.4339, allocations: 59.81 kB / 0.6748 GB, free: 11.62 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=181): time 4.017e-06/0.4339, allocations: 0 / 0.6748 GB, free: 11.62 MB / 0.5138 GB Notification: Performance of matching and sorting (n=210): time 0.06145/0.4953, allocations: 22.22 MB / 0.6965 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.987e-05/0.4954, allocations: 145.8 kB / 0.6966 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004249/0.4997, allocations: 3.387 MB / 0.6999 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000242/0.4999, allocations: 57.7 kB / 0.7 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001995/0.5019, allocations: 2.916 MB / 0.7028 GB, free: 14.67 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008769/0.5028, allocations: 0.8256 MB / 0.7036 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001564/0.5043, allocations: 1.203 MB / 0.7048 GB, free: 12.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.5045, allocations: 305.1 kB / 0.7051 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003338/0.5078, allocations: 2.338 MB / 0.7074 GB, free: 9.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005822/0.5136, allocations: 5.792 MB / 0.7131 GB, free: 2.473 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/0.5239, allocations: 8.823 MB / 0.7217 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-05/0.5239, allocations: 39.94 kB / 0.7217 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.221/0.7449, allocations: 8.697 MB / 0.7302 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.745, allocations: 56.78 kB / 0.7303 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002174/0.7453, allocations: 121 kB / 0.7304 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002809/0.7481, allocations: 1.038 MB / 0.7314 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004004/0.7521, allocations: 1.385 MB / 0.7327 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004035/0.7561, allocations: 5.814 MB / 0.7384 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003481/0.7596, allocations: 333.5 kB / 0.7387 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004316/0.76, allocations: 358.9 kB / 0.7391 GB, free: 147.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[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 (734): * Single equations (assignments): 727 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002053/0.7621, allocations: 1.938 MB / 0.741 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004226/0.7625, allocations: 327.4 kB / 0.7413 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005371/0.7679, allocations: 3.948 MB / 0.7451 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-05/0.7679, allocations: 27.47 kB / 0.7452 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.7679, allocations: 3.906 kB / 0.7452 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.7679, allocations: 11.45 kB / 0.7452 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/0.7785, allocations: 8.805 MB / 0.7538 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.7785, allocations: 3.609 kB / 0.7538 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/0.78, allocations: 355.7 kB / 0.7541 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002052/0.7821, allocations: 0.8682 MB / 0.755 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001434/0.7822, allocations: 39.27 kB / 0.755 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003377/0.7856, allocations: 5.128 MB / 0.76 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.7856, allocations: 3.984 kB / 0.76 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007301/0.7929, allocations: 6.912 MB / 0.7668 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00051/0.7934, allocations: 378.4 kB / 0.7671 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002976/0.7937, allocations: 35.59 kB / 0.7672 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.795, allocations: 119.8 kB / 0.7673 GB, free: 128.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000248/0.7953, allocations: 109.2 kB / 0.7674 GB, free: 128 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/0.7954, allocations: 55.98 kB / 0.7674 GB, free: 127.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002033/0.7974, allocations: 2.077 MB / 0.7695 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.7974, allocations: 0 / 0.7695 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003436/0.8008, allocations: 0.9551 MB / 0.7704 GB, free: 124.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v) * 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 (178): * Single equations (assignments): 171 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007491/0.8083, allocations: 7.564 MB / 0.7778 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00733/0.8157, allocations: 5.919 MB / 0.7836 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.8157, allocations: 4 kB / 0.7836 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003067/0.8187, allocations: 2.338 MB / 0.7858 GB, free: 109 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.8204, allocations: 362.7 kB / 0.7862 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04019/0.8606, allocations: 44.29 MB / 0.8294 GB, free: 58.92 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002189/0.8628, allocations: 3.011 MB / 0.8324 GB, free: 55.88 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003104/0.8659, allocations: 1.861 MB / 0.8342 GB, free: 54.01 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001701/0.8676, allocations: 1.714 MB / 0.8359 GB, free: 52.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.152e-06/0.8676, allocations: 0 / 0.8359 GB, free: 52.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09527/0.9629, allocations: 65.2 MB / 0.8995 GB, free: 3.402 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/15.99, allocations: 10.48 kB / 0.8996 GB, free: 3.398 MB / 0.5763 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_SpringDamperSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_SpringDamperSeries.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.591550847995677]