Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperParallel,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperParallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperParallel,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperParallel",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001417, allocations: 199.8 kB / 8.538 MB, free: 1.742 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, allocations: 225.5 MB / 234.4 MB, free: 3.402 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009306/0.0009302, allocations: 92.59 kB / 286.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1721/0.1721, allocations: 45.13 MB / 383.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1931/0.3652, allocations: 69.38 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08098/0.4462, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2729/0.7191, allocations: 106.1 MB / 0.6075 GB, free: 12.94 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001939/0.7194, allocations: 77.22 kB / 0.6076 GB, free: 12.9 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2641 * Number of variables: 2641 Notification: Performance of Generate backend data structure: time 0.3322/1.052, allocations: 132.1 MB / 0.7366 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/1.052, allocations: 11.94 kB / 0.7366 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01057/1.062, allocations: 2.381 MB / 0.7389 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008621/1.071, allocations: 3.885 MB / 0.7427 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002512/1.071, allocations: 240 kB / 0.7429 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001384/1.072, allocations: 435.9 kB / 0.7434 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.161/1.234, allocations: 11.51 MB / 0.7546 GB, free: 168.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02357/1.257, allocations: 16.2 MB / 0.7704 GB, free: 165.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002319/1.257, allocations: 82.16 kB / 0.7705 GB, free: 165.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009309/1.258, allocations: 38.66 kB / 0.7705 GB, free: 165.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002284/1.261, allocations: 2.031 MB / 0.7725 GB, free: 165.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07095/1.332, allocations: 73.46 MB / 0.8443 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007261/1.339, allocations: 7.012 MB / 0.8511 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005739/1.345, allocations: 5.717 MB / 0.8567 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008749/1.346, allocations: 1.122 MB / 0.8578 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/1.346, allocations: 84 kB / 0.8579 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=392): time 7.394e-06/1.346, allocations: 2.812 kB / 0.8579 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=537): time 0.1393/1.485, allocations: 62.9 MB / 0.9193 GB, free: 74.14 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/1.485, allocations: 260.2 kB / 0.9195 GB, free: 73.84 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00427/1.489, allocations: 3.641 MB / 0.9231 GB, free: 70.72 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007375/1.49, allocations: 29.7 kB / 0.9231 GB, free: 70.69 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001459/1.491, allocations: 4.341 MB / 0.9274 GB, free: 66.87 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001439/1.493, allocations: 1.864 MB / 0.9292 GB, free: 65.18 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005696/1.494, allocations: 0 / 0.9292 GB, free: 65.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003849/1.494, allocations: 0.7398 MB / 0.9299 GB, free: 64.55 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007287/1.501, allocations: 5.709 MB / 0.9355 GB, free: 59.39 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009488/1.511, allocations: 10.69 MB / 0.9459 GB, free: 47.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01153/1.522, allocations: 8.313 MB / 0.954 GB, free: 39.54 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-05/1.522, allocations: 48 kB / 0.9541 GB, free: 39.49 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1355) (initialization): time 0.03318/1.556, allocations: 18.77 MB / 0.9724 GB, free: 20.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.556, allocations: 4 kB / 0.9724 GB, free: 20.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001489/1.556, allocations: 176 kB / 0.9726 GB, free: 20.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009369/1.565, allocations: 3.302 MB / 0.9758 GB, free: 17.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01041/1.576, allocations: 2.402 MB / 0.9782 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1773/1.753, allocations: 24.04 MB / 1.002 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007657/1.761, allocations: 322.1 kB / 1.002 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001238/1.762, allocations: 0.6168 MB / 1.003 GB, free: 145.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 794 * Number of states: 0 () * Number of discrete variables: 72 (prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],universal2.cylinderColor[3],universal2.cylinderColor[2],universal2.cylinderColor[1],pm3.sphereColor[3],pm3.sphereColor[2],pm3.sphereColor[1],springDamperParallel2.color[3],springDamperParallel2.color[2],springDamperParallel2.color[1],springDamperParallel2.color_b[3],springDamperParallel2.color_b[2],springDamperParallel2.color_b[1],springDamperParallel2.color_a[3],springDamperParallel2.color_a[2],springDamperParallel2.color_a[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pm2.sphereColor[3],pm2.sphereColor[2],pm2.sphereColor[1],springDamperParallel1.color[3],springDamperParallel1.color[2],springDamperParallel1.color[1],springDamperParallel1.color_b[3],springDamperParallel1.color_b[2],springDamperParallel1.color_b[1],springDamperParallel1.color_a[3],springDamperParallel1.color_a[2],springDamperParallel1.color_a[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],pm1.sphereColor[3],pm1.sphereColor[2],pm1.sphereColor[1],springDamperParallel.color[3],springDamperParallel.color[2],springDamperParallel.color[1],springDamperParallel.color_b[3],springDamperParallel.color_b[2],springDamperParallel.color_b[1],springDamperParallel.color_a[3],springDamperParallel.color_a[2],springDamperParallel.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1260): * Single equations (assignments): 1247 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 9,(3,100.0%) 12,(1,100.0%) 4,(1,100.0%) 9,(3,100.0%) 12,(1,100.0%) 4,(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001471/1.763, allocations: 0.57 MB / 1.003 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009808/1.764, allocations: 497 kB / 1.004 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02362/1.788, allocations: 14.1 MB / 1.017 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.439e-05/1.788, allocations: 48.53 kB / 1.017 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-05/1.788, allocations: 15.47 kB / 1.017 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.335e-05/1.788, allocations: 24.52 kB / 1.017 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04239/1.831, allocations: 26.51 MB / 1.043 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.042e-05/1.831, allocations: 3.406 kB / 1.043 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005101/1.836, allocations: 0.8602 MB / 1.044 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01028/1.846, allocations: 3.472 MB / 1.048 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007225/1.847, allocations: 42.23 kB / 1.048 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01724/1.864, allocations: 19.54 MB / 1.067 GB, free: 129 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/1.864, allocations: 10.66 kB / 1.067 GB, free: 129 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03194/1.896, allocations: 22.4 MB / 1.089 GB, free: 120 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03907/1.935, allocations: 30.85 MB / 1.119 GB, free: 96.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009821/1.936, allocations: 0.4897 MB / 1.119 GB, free: 96.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001259/1.937, allocations: 8 kB / 1.119 GB, free: 96.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003649/1.941, allocations: 211.5 kB / 1.119 GB, free: 96.04 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007392/1.942, allocations: 268.9 kB / 1.12 GB, free: 95.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006123/1.942, allocations: 176.9 kB / 1.12 GB, free: 95.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.003055/1.945, allocations: 2.37 MB / 1.122 GB, free: 93.65 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008204/1.954, allocations: 1.802 MB / 1.124 GB, free: 91.87 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 18 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic.s,prismatic.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v,pm3.r_0[1],pm3.r_0[2],pm3.r_0[3],pm3.v_0[1],pm3.v_0[2],pm3.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (454): * Single equations (assignments): 436 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 7 {(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008031/1.954, allocations: 216.4 kB / 1.124 GB, free: 91.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01883/1.973, allocations: 14.88 MB / 1.139 GB, free: 78.49 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.973, allocations: 0 / 1.139 GB, free: 78.49 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01241/1.986, allocations: 8.236 MB / 1.147 GB, free: 70.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/1.988, allocations: 363.4 kB / 1.147 GB, free: 70.67 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02904/2.017, allocations: 17.38 MB / 1.164 GB, free: 55.56 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00832/2.026, allocations: 5.779 MB / 1.17 GB, free: 51.18 MB / 0.5261 GB Notification: Performance of SimCode: time 7.21e-07/2.026, allocations: 0 / 1.17 GB, free: 51.18 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperParallel_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperParallel.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe 2>&1)