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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001742/0.001742, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.571/1.571, allocations: 227.2 MB / 245 MB, free: 7.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009335/0.0009335, allocations: 105.6 kB / 297.3 MB, free: 6.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4058/0.4058, allocations: 45.22 MB / 394.6 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003001/0.0003002, allocations: 8 kB / 468.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4093/0.4096, allocations: 63.24 MB / 0.5193 GB, free: 43.55 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1551/0.5648, allocations: 106.9 MB / 0.6237 GB, free: 14.63 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.5651, allocations: 87.92 kB / 0.6238 GB, free: 14.55 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6243/1.189, allocations: 129.3 MB / 0.7501 GB, free: 91.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.945e-06/1.189, allocations: 1.469 kB / 0.7501 GB, free: 91.68 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005522/1.19, allocations: 137.6 kB / 0.7502 GB, free: 91.68 MB / 0.4948 GB 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.02539/1.215, allocations: 7.092 MB / 0.7571 GB, free: 88.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/1.215, allocations: 11.45 kB / 0.7571 GB, free: 88.93 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006351/1.222, allocations: 1.31 MB / 0.7584 GB, free: 88.82 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.013/1.235, allocations: 2.802 MB / 0.7611 GB, free: 88.35 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01374/1.249, allocations: 3.881 MB / 0.7649 GB, free: 86.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009668/1.25, allocations: 0.557 MB / 0.7655 GB, free: 86.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004644/1.254, allocations: 0.7368 MB / 0.7662 GB, free: 86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05616/1.311, allocations: 20.64 MB / 0.7864 GB, free: 77.47 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008335/1.311, allocations: 84.05 kB / 0.7864 GB, free: 77.42 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004942/1.316, allocations: 344 kB / 0.7868 GB, free: 77.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00356/1.32, allocations: 1.962 MB / 0.7887 GB, free: 76.87 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04387/1.364, allocations: 18.22 MB / 0.8065 GB, free: 64.74 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1007/1.465, allocations: 74.95 MB / 0.8797 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02735/1.492, allocations: 8.693 MB / 0.8882 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.384/1.876, allocations: 19.83 MB / 0.9075 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.677e-05/1.876, allocations: 73.48 kB / 0.9076 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=386): time 6.292e-06/1.876, allocations: 0 / 0.9076 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=531): time 0.3188/2.195, allocations: 92.52 MB / 0.9979 GB, free: 89.06 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.868e-05/2.195, allocations: 181.8 kB / 0.9981 GB, free: 88.85 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00695/2.202, allocations: 4.55 MB / 1.003 GB, free: 85.11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001406/2.204, allocations: 105.7 kB / 1.003 GB, free: 85 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002633/2.206, allocations: 4.523 MB / 1.007 GB, free: 81 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002502/2.209, allocations: 1.908 MB / 1.009 GB, free: 79.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006858/2.209, allocations: 204.5 kB / 1.009 GB, free: 79.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004567/2.21, allocations: 0.7383 MB / 1.01 GB, free: 78.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007629/2.218, allocations: 5.559 MB / 1.015 GB, free: 73.42 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01093/2.228, allocations: 10.45 MB / 1.025 GB, free: 60.69 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01096/2.239, allocations: 7.539 MB / 1.033 GB, free: 53.29 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.769e-05/2.24, allocations: 48 kB / 1.033 GB, free: 53.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1325) (initialization): time 0.03519/2.275, allocations: 18.66 MB / 1.051 GB, free: 34.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001167/2.275, allocations: 79.59 kB / 1.051 GB, free: 34.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001932/2.275, allocations: 172 kB / 1.051 GB, free: 34.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007699/2.283, allocations: 3.134 MB / 1.054 GB, free: 31.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009808/2.293, allocations: 2.398 MB / 1.057 GB, free: 28.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02253/2.315, allocations: 24.83 MB / 1.081 GB, free: 3.039 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009913/2.325, allocations: 0.5813 MB / 1.082 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002759/2.328, allocations: 0.5623 MB / 1.082 GB, free: 1.895 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 768 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1230): * Single equations (assignments): 1217 * 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.009425/2.337, allocations: 3.322 MB / 1.085 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001602/2.339, allocations: 0.5477 MB / 1.086 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02589/2.365, allocations: 13.29 MB / 1.099 GB, free: 0.6562 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001238/2.365, allocations: 56 kB / 1.099 GB, free: 0.6016 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-05/2.365, allocations: 12 kB / 1.099 GB, free: 0.5898 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001835/2.365, allocations: 27.86 kB / 1.099 GB, free: 0.5625 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4358/2.801, allocations: 26.12 MB / 1.124 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.074e-05/2.801, allocations: 5.312 kB / 1.124 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005772/2.807, allocations: 0.8963 MB / 1.125 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009661/2.817, allocations: 3.34 MB / 1.129 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001918/2.819, allocations: 105.5 kB / 1.129 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02741/2.846, allocations: 21.66 MB / 1.15 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/2.846, allocations: 5.906 kB / 1.15 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0396/2.886, allocations: 21.21 MB / 1.171 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002145/2.888, allocations: 0.5792 MB / 1.171 GB, free: 104 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002975/2.891, allocations: 91.61 kB / 1.171 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005753/2.897, allocations: 360.3 kB / 1.172 GB, free: 103.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002037/2.899, allocations: 350.5 kB / 1.172 GB, free: 103.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001167/2.9, allocations: 131.2 kB / 1.172 GB, free: 103.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.008541/2.909, allocations: 3.139 MB / 1.175 GB, free: 102.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.01e-07/2.909, allocations: 5.469 kB / 1.175 GB, free: 102.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01466/2.923, allocations: 2.084 MB / 1.177 GB, free: 102.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (448): * Single equations (assignments): 430 * 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.04044/2.964, allocations: 22.89 MB / 1.2 GB, free: 91.87 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02756/2.992, allocations: 14.71 MB / 1.214 GB, free: 85.87 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.731e-05/2.992, allocations: 5.906 kB / 1.214 GB, free: 85.87 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01725/3.009, allocations: 7.953 MB / 1.222 GB, free: 79.56 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006651/3.016, allocations: 0.5706 MB / 1.222 GB, free: 79.07 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.428/3.444, allocations: 155.4 MB / 1.374 GB, free: 78.38 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01092/3.455, allocations: 5.285 MB / 1.379 GB, free: 77.49 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.009576/3.464, allocations: 3.214 MB / 1.382 GB, free: 77.43 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00695/3.471, allocations: 3.423 MB / 1.386 GB, free: 77.43 MB / 0.573 GB Notification: Performance of SimCode: time 1.573e-06/3.471, allocations: 0 / 1.386 GB, free: 77.43 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5302/4.001, allocations: 152.3 MB / 1.534 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/4.002, allocations: 214 kB / 1.535 GB, free: 127.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.408/11.41, allocations: 0 / 1.535 GB, free: 127.9 MB / 0.5886 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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat does not exist to compare? outputFormat=mat