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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001816/0.001815, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001107/0.001107, allocations: 97.17 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.18/0.18, allocations: 45.15 MB / 383.8 MB, free: 304 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.631e-05/2.631e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1012, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4103/0.5116, allocations: 108.4 MB / 0.6103 GB, free: 10.32 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.5119, allocations: 75.84 kB / 0.6104 GB, free: 10.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1779/0.6898, allocations: 70.6 MB / 0.6794 GB, free: 11.79 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.6899, allocations: 0 / 0.6794 GB, free: 11.79 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001718/0.69, allocations: 75.98 kB / 0.6794 GB, free: 11.71 MB / 474.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.01047/0.7005, allocations: 3.67 MB / 0.683 GB, free: 7.98 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.7006, allocations: 8.031 kB / 0.683 GB, free: 7.973 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008879/0.7095, allocations: 2.058 MB / 0.685 GB, free: 5.906 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004857/0.7144, allocations: 2.072 MB / 0.6871 GB, free: 3.785 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002051/0.7146, allocations: 132 kB / 0.6872 GB, free: 3.656 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001517/0.7161, allocations: 232 kB / 0.6874 GB, free: 3.43 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009976/0.7261, allocations: 6.076 MB / 0.6933 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01706/0.7432, allocations: 9.15 MB / 0.7023 GB, free: 3.262 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001941/0.7434, allocations: 59.45 kB / 0.7023 GB, free: 3.203 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001159/0.7446, allocations: 28 kB / 0.7024 GB, free: 3.176 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001475/0.7461, allocations: 1.069 MB / 0.7034 GB, free: 2.105 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04322/0.7893, allocations: 44.36 MB / 0.7467 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004167/0.7935, allocations: 3.495 MB / 0.7501 GB, free: 0.7617 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2701/1.064, allocations: 2.229 MB / 0.7523 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006931/1.064, allocations: 0.7071 MB / 0.753 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/1.064, allocations: 59.05 kB / 0.7531 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=190): time 6.412e-06/1.064, allocations: 0 / 0.7531 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=235): time 0.04689/1.111, allocations: 23.25 MB / 0.7758 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/1.111, allocations: 204.1 kB / 0.776 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003127/1.115, allocations: 2.493 MB / 0.7784 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003818/1.115, allocations: 25.7 kB / 0.7784 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001321/1.116, allocations: 2.844 MB / 0.7812 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008838/1.117, allocations: 0.8454 MB / 0.782 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002503/1.117, allocations: 3.625 kB / 0.782 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003078/1.118, allocations: 0.6235 MB / 0.7826 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002809/1.121, allocations: 2.508 MB / 0.7851 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003954/1.125, allocations: 6.034 MB / 0.791 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004332/1.129, allocations: 3.862 MB / 0.7947 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-05/1.129, allocations: 35.44 kB / 0.7948 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=818) (initialization): time 0.01255/1.142, allocations: 8.561 MB / 0.8031 GB, free: 130 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.003e-05/1.142, allocations: 62 kB / 0.8032 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-05/1.142, allocations: 124.9 kB / 0.8033 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002409/1.144, allocations: 1.051 MB / 0.8043 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004556/1.149, allocations: 1.473 MB / 0.8058 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004085/1.153, allocations: 5.095 MB / 0.8108 GB, free: 126 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004176/1.157, allocations: 222.2 kB / 0.811 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006868/1.158, allocations: 378 kB / 0.8113 GB, free: 125.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.0008527/1.159, allocations: 424.8 kB / 0.8117 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006626/1.165, allocations: 4.664 MB / 0.8163 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005189/1.166, allocations: 282.6 kB / 0.8166 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006632/1.172, allocations: 4.472 MB / 0.8209 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.744e-05/1.173, allocations: 28.59 kB / 0.821 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.805e-05/1.173, allocations: 3.906 kB / 0.821 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-05/1.173, allocations: 13.86 kB / 0.821 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01458/1.187, allocations: 9.748 MB / 0.8305 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/1.187, allocations: 0 / 0.8305 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001997/1.189, allocations: 400.8 kB / 0.8309 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002138/1.191, allocations: 0.8631 MB / 0.8317 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000172/1.192, allocations: 12 kB / 0.8317 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003363/1.195, allocations: 4.448 MB / 0.8361 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.195, allocations: 0 / 0.8361 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008852/1.204, allocations: 8.011 MB / 0.8439 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008046/1.205, allocations: 329.7 kB / 0.8442 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003548/1.205, allocations: 11.94 kB / 0.8442 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/1.207, allocations: 91.69 kB / 0.8443 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002674/1.207, allocations: 136.3 kB / 0.8444 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001591/1.207, allocations: 59.7 kB / 0.8445 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002072/1.209, allocations: 1.612 MB / 0.8461 GB, free: 101 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/1.209, allocations: 0 / 0.8461 GB, free: 101 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004626/1.214, allocations: 0.8855 MB / 0.8469 GB, free: 100.1 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.009172/1.223, allocations: 8.938 MB / 0.8557 GB, free: 92.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008457/1.231, allocations: 6.507 MB / 0.862 GB, free: 86.09 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/1.231, allocations: 4 kB / 0.862 GB, free: 86.09 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003528/1.235, allocations: 2.769 MB / 0.8647 GB, free: 83.53 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/1.237, allocations: 223.5 kB / 0.8649 GB, free: 83.33 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01955/1.256, allocations: 9.216 MB / 0.8739 GB, free: 75.29 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00297/1.259, allocations: 3.136 MB / 0.877 GB, free: 72.88 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004638/1.264, allocations: 2.041 MB / 0.879 GB, free: 71.58 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002257/1.266, allocations: 1.701 MB / 0.8807 GB, free: 70.01 MB / 0.5261 GB Notification: Performance of SimCode: time 9.42e-07/1.266, allocations: 0 / 0.8807 GB, free: 70.01 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3542/1.62, allocations: 70.01 MB / 0.949 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001612/1.621, allocations: 142.4 kB / 0.9492 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.141/5.762, allocations: 0 / 0.9492 GB, free: 119.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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat does not exist to compare? outputFormat=mat