Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 184.1 kB / 8.52 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.145/1.145, allocations: 221.4 MB / 230.3 MB, free: 7.695 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000971/0.000971, allocations: 92.22 kB / 281.2 MB, free: 5.504 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1582/0.1582, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1782/0.3364, allocations: 68.02 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09439/0.4309, allocations: 61.91 MB / 0.4942 GB, free: 1.547 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.268/0.6989, allocations: 107.3 MB / 0.599 GB, free: 5.41 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001952/0.6991, allocations: 67.97 kB / 0.599 GB, free: 5.344 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.1825/0.8816, allocations: 73.43 MB / 0.6707 GB, free: 11.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.8817, allocations: 19.88 kB / 0.6707 GB, free: 11.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00785/0.8895, allocations: 1.711 MB / 0.6724 GB, free: 9.508 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004649/0.8942, allocations: 2.076 MB / 0.6744 GB, free: 7.383 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.8944, allocations: 128 kB / 0.6746 GB, free: 7.258 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00127/0.8957, allocations: 236 kB / 0.6748 GB, free: 7.027 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009886/0.9056, allocations: 6.197 MB / 0.6808 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0144/0.92, allocations: 9.263 MB / 0.6899 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001643/0.9202, allocations: 55.56 kB / 0.6899 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008971/0.9211, allocations: 31.91 kB / 0.69 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00139/0.9225, allocations: 1.119 MB / 0.6911 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2158/1.138, allocations: 44.66 MB / 0.7347 GB, free: 69.29 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002993/1.141, allocations: 3.331 MB / 0.7379 GB, free: 68.58 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001963/1.143, allocations: 2.291 MB / 0.7402 GB, free: 68.53 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005127/1.144, allocations: 0.7195 MB / 0.7409 GB, free: 67.96 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/1.144, allocations: 55.66 kB / 0.7409 GB, free: 67.92 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=190): time 4.148e-06/1.144, allocations: 0 / 0.7409 GB, free: 67.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=235): time 0.04476/1.189, allocations: 23.2 MB / 0.7636 GB, free: 64.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/1.189, allocations: 209.8 kB / 0.7638 GB, free: 64.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002786/1.192, allocations: 2.524 MB / 0.7663 GB, free: 63.77 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002717/1.192, allocations: 25.7 kB / 0.7663 GB, free: 63.73 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009481/1.193, allocations: 2.736 MB / 0.7689 GB, free: 62.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005728/1.193, allocations: 0.8528 MB / 0.7698 GB, free: 61.69 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002494/1.194, allocations: 3.781 kB / 0.7698 GB, free: 61.69 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002566/1.194, allocations: 0.6214 MB / 0.7704 GB, free: 61.37 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002854/1.197, allocations: 2.609 MB / 0.7729 GB, free: 61.35 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003799/1.201, allocations: 6.142 MB / 0.7789 GB, free: 56.77 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004939/1.206, allocations: 4.177 MB / 0.783 GB, free: 56.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.177e-05/1.206, allocations: 38.41 kB / 0.7831 GB, free: 56.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=818) (initialization): time 0.01352/1.219, allocations: 8.969 MB / 0.7918 GB, free: 53.97 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/1.219, allocations: 3.906 kB / 0.7918 GB, free: 53.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001011/1.219, allocations: 130.7 kB / 0.7919 GB, free: 53.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002896/1.222, allocations: 1.121 MB / 0.793 GB, free: 53.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0046/1.227, allocations: 1.444 MB / 0.7944 GB, free: 53.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004124/1.231, allocations: 4.986 MB / 0.7993 GB, free: 50.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004142/1.235, allocations: 188.2 kB / 0.7995 GB, free: 50.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008952/1.236, allocations: 394 kB / 0.7999 GB, free: 49.96 MB / 0.5105 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.001411/1.237, allocations: 422.8 kB / 0.8003 GB, free: 49.61 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007254/1.238, allocations: 281.1 kB / 0.8005 GB, free: 49.46 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00813/1.246, allocations: 4.878 MB / 0.8053 GB, free: 47.62 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.998e-05/1.246, allocations: 23.44 kB / 0.8053 GB, free: 47.62 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.666e-05/1.246, allocations: 7.469 kB / 0.8053 GB, free: 47.62 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.232e-05/1.246, allocations: 14.83 kB / 0.8053 GB, free: 47.62 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01644/1.263, allocations: 10.27 MB / 0.8154 GB, free: 43.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/1.263, allocations: 1.625 kB / 0.8154 GB, free: 43.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002274/1.265, allocations: 378.5 kB / 0.8157 GB, free: 43.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00304/1.268, allocations: 0.9347 MB / 0.8167 GB, free: 43.22 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002792/1.269, allocations: 15.73 kB / 0.8167 GB, free: 43.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00384/1.272, allocations: 4.36 MB / 0.8209 GB, free: 39.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.272, allocations: 4.812 kB / 0.8209 GB, free: 39.97 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0125/1.285, allocations: 8.584 MB / 0.8293 GB, free: 36.36 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01505/1.3, allocations: 12.07 MB / 0.8411 GB, free: 31.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006794/1.301, allocations: 331 kB / 0.8414 GB, free: 30.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007361/1.302, allocations: 3.969 kB / 0.8414 GB, free: 30.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/1.303, allocations: 61.59 kB / 0.8415 GB, free: 30.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003105/1.304, allocations: 110.3 kB / 0.8416 GB, free: 30.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002224/1.304, allocations: 75.16 kB / 0.8417 GB, free: 30.78 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.002926/1.307, allocations: 1.652 MB / 0.8433 GB, free: 29.78 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005948/1.313, allocations: 0.8857 MB / 0.8441 GB, free: 28.9 MB / 0.5105 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.0006729/1.314, allocations: 172.3 kB / 0.8443 GB, free: 28.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009662/1.323, allocations: 6.811 MB / 0.8509 GB, free: 22.51 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.323, allocations: 0 / 0.8509 GB, free: 22.51 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004415/1.328, allocations: 2.919 MB / 0.8538 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/1.329, allocations: 228.1 kB / 0.854 GB, free: 19.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01499/1.344, allocations: 8.252 MB / 0.8621 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004982/1.349, allocations: 3.424 MB / 0.8654 GB, free: 9.52 MB / 0.5105 GB Notification: Performance of SimCode: time 1.052e-06/1.349, allocations: 0 / 0.8654 GB, free: 9.52 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperSeries.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1)