Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.SpringDamperSeries,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperSeries",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.001966/0.001966, allocations: 198.6 kB / 8.539 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.232/1.232, allocations: 225.5 MB / 234.4 MB, free: 3.309 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009509/0.000951, allocations: 95.64 kB / 286.3 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1743/0.1743, allocations: 45.15 MB / 383.4 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.192/0.3664, allocations: 69.36 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08164/0.4481, allocations: 63.24 MB / 0.5039 GB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3354/0.7835, allocations: 108.4 MB / 0.6097 GB, free: 10.93 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.7837, allocations: 76.39 kB / 0.6097 GB, free: 10.89 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: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.194/0.9777, allocations: 73.64 MB / 0.6817 GB, free: 9.305 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.9778, allocations: 8 kB / 0.6817 GB, free: 9.297 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007947/0.9857, allocations: 1.711 MB / 0.6833 GB, free: 7.578 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004482/0.9903, allocations: 2.072 MB / 0.6854 GB, free: 5.449 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.9904, allocations: 132 kB / 0.6855 GB, free: 5.32 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001045/0.9915, allocations: 235.9 kB / 0.6857 GB, free: 5.09 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009522/1.001, allocations: 6.193 MB / 0.6918 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01238/1.013, allocations: 9.259 MB / 0.7008 GB, free: 4.691 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/1.014, allocations: 55.47 kB / 0.7009 GB, free: 4.637 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004751/1.014, allocations: 28 kB / 0.7009 GB, free: 4.609 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001364/1.015, allocations: 1.123 MB / 0.702 GB, free: 3.484 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04335/1.059, allocations: 44.65 MB / 0.7456 GB, free: 5.473 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003776/1.063, allocations: 3.337 MB / 0.7488 GB, free: 1.973 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.131/1.194, allocations: 2.299 MB / 0.7511 GB, free: 206.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005995/1.194, allocations: 0.7199 MB / 0.7518 GB, free: 205.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/1.194, allocations: 50.41 kB / 0.7518 GB, free: 205.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=190): time 4.819e-06/1.194, allocations: 0 / 0.7518 GB, free: 205.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=235): time 0.04772/1.242, allocations: 23.2 MB / 0.7745 GB, free: 202.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/1.242, allocations: 199.5 kB / 0.7747 GB, free: 202.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002825/1.245, allocations: 2.522 MB / 0.7771 GB, free: 202 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000253/1.245, allocations: 29.33 kB / 0.7772 GB, free: 201.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000932/1.246, allocations: 2.735 MB / 0.7798 GB, free: 200.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005844/1.247, allocations: 0.8506 MB / 0.7807 GB, free: 199.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002778/1.247, allocations: 0 / 0.7807 GB, free: 199.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002773/1.247, allocations: 0.6269 MB / 0.7813 GB, free: 199.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00302/1.25, allocations: 2.612 MB / 0.7838 GB, free: 199.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004069/1.254, allocations: 6.141 MB / 0.7898 GB, free: 194.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004966/1.259, allocations: 4.169 MB / 0.7939 GB, free: 193.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.415e-05/1.259, allocations: 35.75 kB / 0.7939 GB, free: 193.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=818) (initialization): time 0.01353/1.273, allocations: 8.97 MB / 0.8027 GB, free: 190.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/1.273, allocations: 3.812 kB / 0.8027 GB, free: 190.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.932e-05/1.273, allocations: 128.7 kB / 0.8028 GB, free: 190.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003121/1.276, allocations: 1.127 MB / 0.8039 GB, free: 190.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004904/1.281, allocations: 1.445 MB / 0.8053 GB, free: 190.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004968/1.286, allocations: 4.979 MB / 0.8102 GB, free: 187 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004276/1.29, allocations: 192.1 kB / 0.8104 GB, free: 187 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006596/1.291, allocations: 388.6 kB / 0.8108 GB, free: 186.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 574 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (777): * Single equations (assignments): 770 * 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: 2 * 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: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008215/1.292, allocations: 431 kB / 0.8112 GB, free: 186.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005078/1.292, allocations: 286.6 kB / 0.8114 GB, free: 186.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00848/1.301, allocations: 4.868 MB / 0.8162 GB, free: 182.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.917e-05/1.301, allocations: 27.91 kB / 0.8162 GB, free: 182.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/1.301, allocations: 4 kB / 0.8162 GB, free: 182.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-05/1.301, allocations: 15.53 kB / 0.8162 GB, free: 182.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/1.317, allocations: 10.27 MB / 0.8263 GB, free: 174.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/1.317, allocations: 4 kB / 0.8263 GB, free: 174.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002253/1.319, allocations: 379.2 kB / 0.8266 GB, free: 174 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002992/1.322, allocations: 0.9341 MB / 0.8275 GB, free: 173.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000304/1.322, allocations: 15.55 kB / 0.8276 GB, free: 173.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003732/1.326, allocations: 4.373 MB / 0.8318 GB, free: 169.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.326, allocations: 0 / 0.8318 GB, free: 169.1 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01112/1.337, allocations: 8.587 MB / 0.8402 GB, free: 161.4 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01381/1.351, allocations: 12.05 MB / 0.852 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005875/1.352, allocations: 331.6 kB / 0.8523 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000515/1.352, allocations: 10.28 kB / 0.8523 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/1.354, allocations: 63.91 kB / 0.8524 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003021/1.354, allocations: 105.9 kB / 0.8525 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002423/1.354, allocations: 78.06 kB / 0.8525 GB, free: 150 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002039/1.356, allocations: 1.649 MB / 0.8542 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005113/1.362, allocations: 0.895 MB / 0.855 GB, free: 147.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (200): * Single equations (assignments): 193 * 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: 2 * 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: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005041/1.362, allocations: 163.9 kB / 0.8552 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00927/1.371, allocations: 6.813 MB / 0.8618 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.371, allocations: 0 / 0.8618 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004413/1.376, allocations: 2.936 MB / 0.8647 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/1.377, allocations: 215 kB / 0.8649 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/1.39, allocations: 8.261 MB / 0.873 GB, free: 131 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004129/1.394, allocations: 3.421 MB / 0.8763 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.462e-06/1.394, allocations: 4 kB / 0.8763 GB, free: 128.3 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperSeries.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1)