Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001238/0.001238, allocations: 185.5 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.274/1.274, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009764/0.0009763, allocations: 90.3 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2143/0.2143, allocations: 43.49 MB / 352.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1994/0.4137, allocations: 64.96 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.6929, allocations: 58.84 MB / 476.6 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/0.8413, allocations: 105.6 MB / 0.5686 GB, free: 9.285 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.8416, allocations: 79.45 kB / 0.5687 GB, free: 9.211 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.2054/1.047, allocations: 72.41 MB / 0.6394 GB, free: 124 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/1.047, allocations: 12 kB / 0.6394 GB, free: 112 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1846/1.232, allocations: 1.703 MB / 0.6411 GB, free: 164.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005113/1.237, allocations: 2.075 MB / 0.6431 GB, free: 164.1 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001795/1.237, allocations: 134.7 kB / 0.6432 GB, free: 164.1 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001476/1.239, allocations: 238.5 kB / 0.6434 GB, free: 164.1 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009782/1.248, allocations: 6.196 MB / 0.6495 GB, free: 164.1 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0156/1.264, allocations: 9.267 MB / 0.6585 GB, free: 161.6 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001601/1.264, allocations: 48.38 kB / 0.6586 GB, free: 161.6 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005973/1.265, allocations: 26.69 kB / 0.6586 GB, free: 161.6 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001402/1.266, allocations: 1.121 MB / 0.6597 GB, free: 161.6 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07066/1.337, allocations: 44.66 MB / 0.7033 GB, free: 131.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004037/1.341, allocations: 3.338 MB / 0.7066 GB, free: 129.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003153/1.344, allocations: 2.286 MB / 0.7088 GB, free: 128.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007936/1.345, allocations: 0.7171 MB / 0.7095 GB, free: 128.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/1.345, allocations: 59.84 kB / 0.7096 GB, free: 128 MB / 474.7 MB Notification: Performance of pre-optimization done (n=190): time 6.632e-06/1.345, allocations: 0 / 0.7096 GB, free: 128 MB / 474.7 MB Notification: Performance of matching and sorting (n=235): time 0.05544/1.401, allocations: 23.21 MB / 0.7322 GB, free: 113.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/1.401, allocations: 209.9 kB / 0.7324 GB, free: 113 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00339/1.404, allocations: 2.529 MB / 0.7349 GB, free: 110.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004889/1.405, allocations: 29.7 kB / 0.7349 GB, free: 110.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001104/1.406, allocations: 2.728 MB / 0.7376 GB, free: 108.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000818/1.407, allocations: 0.8558 MB / 0.7384 GB, free: 107.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002597/1.407, allocations: 0 / 0.7384 GB, free: 107.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002976/1.407, allocations: 0.6223 MB / 0.739 GB, free: 106.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003093/1.41, allocations: 2.617 MB / 0.7416 GB, free: 104.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004537/1.415, allocations: 6.146 MB / 0.7476 GB, free: 97.02 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005119/1.42, allocations: 4.167 MB / 0.7517 GB, free: 93.45 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-05/1.42, allocations: 36 kB / 0.7517 GB, free: 93.42 MB / 474.7 MB Notification: Performance of matching and sorting (n=818) (initialization): time 0.01582/1.436, allocations: 8.969 MB / 0.7605 GB, free: 85.61 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/1.436, allocations: 5.703 kB / 0.7605 GB, free: 85.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001239/1.436, allocations: 128 kB / 0.7606 GB, free: 85.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003188/1.439, allocations: 1.12 MB / 0.7617 GB, free: 84.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005623/1.445, allocations: 1.447 MB / 0.7631 GB, free: 83.33 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004826/1.45, allocations: 4.986 MB / 0.768 GB, free: 78.51 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005048/1.455, allocations: 182.3 kB / 0.7681 GB, free: 78.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00105/1.456, allocations: 389.8 kB / 0.7685 GB, free: 78 MB / 474.7 MB 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.001014/1.457, allocations: 440.5 kB / 0.7689 GB, free: 77.56 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006379/1.458, allocations: 284 kB / 0.7692 GB, free: 77.29 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008056/1.466, allocations: 4.869 MB / 0.7739 GB, free: 72.72 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.06e-05/1.466, allocations: 20 kB / 0.774 GB, free: 72.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/1.466, allocations: 4 kB / 0.774 GB, free: 72.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.508e-05/1.466, allocations: 11.97 kB / 0.774 GB, free: 72.69 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01601/1.482, allocations: 10.28 MB / 0.784 GB, free: 62.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/1.482, allocations: 0 / 0.784 GB, free: 62.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002159/1.484, allocations: 387.5 kB / 0.7844 GB, free: 62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002732/1.487, allocations: 0.9204 MB / 0.7853 GB, free: 61.06 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002684/1.487, allocations: 15.89 kB / 0.7853 GB, free: 61.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00365/1.491, allocations: 4.37 MB / 0.7896 GB, free: 56.46 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/1.491, allocations: 11.92 kB / 0.7896 GB, free: 56.45 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01101/1.502, allocations: 8.583 MB / 0.798 GB, free: 47.79 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01477/1.517, allocations: 12.06 MB / 0.8097 GB, free: 35.65 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002084/1.519, allocations: 0.7431 MB / 0.8105 GB, free: 34.88 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001008/1.52, allocations: 4 kB / 0.8105 GB, free: 34.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002107/1.522, allocations: 67.91 kB / 0.8105 GB, free: 34.81 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003536/1.522, allocations: 113.8 kB / 0.8107 GB, free: 34.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002387/1.522, allocations: 79.67 kB / 0.8107 GB, free: 34.63 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003248/1.526, allocations: 1.653 MB / 0.8123 GB, free: 32.97 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00713/1.533, allocations: 0.8864 MB / 0.8132 GB, free: 32.09 MB / 474.7 MB 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.0008955/1.534, allocations: 170.6 kB / 0.8134 GB, free: 31.93 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0121/1.546, allocations: 6.807 MB / 0.82 GB, free: 25.09 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.926e-06/1.546, allocations: 4 kB / 0.82 GB, free: 25.08 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004985/1.551, allocations: 2.927 MB / 0.8229 GB, free: 22.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/1.553, allocations: 214.3 kB / 0.8231 GB, free: 21.89 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02153/1.575, allocations: 8.265 MB / 0.8312 GB, free: 13.59 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00655/1.581, allocations: 3.426 MB / 0.8345 GB, free: 10.16 MB / 474.7 MB Notification: Performance of SimCode: time 1.032e-06/1.581, allocations: 4 kB / 0.8345 GB, free: 10.15 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_SpringDamperSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_SpringDamperSeries.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1)