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.001163/0.001163, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, 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.0009493/0.0009494, allocations: 97.05 kB / 286.7 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2/0.2, allocations: 45.15 MB / 383.8 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.76e-05/1.754e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1144, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4232/0.5377, allocations: 106.2 MB / 0.6082 GB, free: 12.29 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.538, allocations: 73.41 kB / 0.6082 GB, free: 12.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3137/0.8517, allocations: 125.8 MB / 0.7311 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.424e-06/0.8518, allocations: 0 / 0.7311 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000416/0.8522, allocations: 136 kB / 0.7312 GB, free: 6.23 MB / 0.5105 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.02516/0.8774, allocations: 6.862 MB / 0.7379 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.8775, allocations: 16.02 kB / 0.7379 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01372/0.8912, allocations: 2.811 MB / 0.7407 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01293/0.9042, allocations: 3.87 MB / 0.7444 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005734/0.9048, allocations: 240 kB / 0.7447 GB, free: 8.285 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003969/0.9088, allocations: 431.9 kB / 0.7451 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.5381/1.447, allocations: 11.27 MB / 0.7561 GB, free: 108.6 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03558/1.483, allocations: 15.98 MB / 0.7717 GB, free: 105.3 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003006/1.483, allocations: 83.22 kB / 0.7718 GB, free: 105.3 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001404/1.484, allocations: 38.31 kB / 0.7718 GB, free: 105.3 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00229/1.487, allocations: 1.954 MB / 0.7737 GB, free: 105.3 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07603/1.563, allocations: 72.97 MB / 0.845 GB, free: 64.95 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008927/1.572, allocations: 7.459 MB / 0.8523 GB, free: 61.41 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006751/1.578, allocations: 5.552 MB / 0.8577 GB, free: 59.05 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/1.58, allocations: 1.117 MB / 0.8588 GB, free: 58.14 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.156e-05/1.58, allocations: 84.69 kB / 0.8589 GB, free: 58.07 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=392): time 1.013e-05/1.58, allocations: 7.031 kB / 0.8589 GB, free: 58.07 MB / 0.5262 GB Notification: Performance of matching and sorting (n=537): time 0.1286/1.709, allocations: 59.34 MB / 0.9168 GB, free: 20.27 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.527e-05/1.709, allocations: 266.6 kB / 0.9171 GB, free: 19.96 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005027/1.714, allocations: 3.595 MB / 0.9206 GB, free: 16.89 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001326/1.715, allocations: 25.7 kB / 0.9206 GB, free: 16.86 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002424/1.717, allocations: 4.587 MB / 0.9251 GB, free: 12.79 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.002501/1.72, allocations: 1.857 MB / 0.9269 GB, free: 11.1 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001049/1.721, allocations: 0 / 0.9269 GB, free: 11.1 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0004789/1.722, allocations: 0.748 MB / 0.9276 GB, free: 10.47 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008007/1.73, allocations: 5.443 MB / 0.933 GB, free: 5.555 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01243/1.742, allocations: 10.43 MB / 0.9431 GB, free: 9.492 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01255/1.755, allocations: 7.489 MB / 0.9505 GB, free: 3.023 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001347/1.755, allocations: 52 kB / 0.9505 GB, free: 2.973 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1355) (initialization): time 0.3427/2.097, allocations: 17.96 MB / 0.968 GB, free: 111.2 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003238/2.098, allocations: 79.62 kB / 0.9681 GB, free: 111.2 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005595/2.098, allocations: 178.6 kB / 0.9683 GB, free: 111.2 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009027/2.107, allocations: 3.077 MB / 0.9713 GB, free: 111.1 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01027/2.118, allocations: 2.462 MB / 0.9737 GB, free: 111.1 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01954/2.137, allocations: 22.66 MB / 0.9958 GB, free: 101.3 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008458/2.146, allocations: 400.7 kB / 0.9962 GB, free: 101.3 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002638/2.149, allocations: 0.5759 MB / 0.9968 GB, free: 101.3 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 794 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1260): * Single equations (assignments): 1247 * 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.004036/2.153, allocations: 0.5832 MB / 0.9973 GB, free: 101 MB / 0.5418 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02317/2.176, allocations: 12.54 MB / 1.01 GB, free: 100.6 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001929/2.178, allocations: 497.3 kB / 1.01 GB, free: 100.6 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02148/2.199, allocations: 12.91 MB / 1.023 GB, free: 97.45 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.366e-05/2.199, allocations: 58.22 kB / 1.023 GB, free: 97.45 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.317e-05/2.199, allocations: 14.03 kB / 1.023 GB, free: 97.45 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001079/2.2, allocations: 29.34 kB / 1.023 GB, free: 97.45 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04335/2.243, allocations: 25.01 MB / 1.047 GB, free: 87.56 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-05/2.243, allocations: 0 / 1.047 GB, free: 87.56 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005338/2.248, allocations: 0.9195 MB / 1.048 GB, free: 87.49 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008444/2.257, allocations: 3.271 MB / 1.051 GB, free: 86.64 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001077/2.258, allocations: 23.47 kB / 1.051 GB, free: 86.64 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01703/2.275, allocations: 20 MB / 1.071 GB, free: 72.33 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/2.275, allocations: 7.953 kB / 1.071 GB, free: 72.32 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03063/2.306, allocations: 20.86 MB / 1.091 GB, free: 53.66 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/2.307, allocations: 0.4931 MB / 1.092 GB, free: 53.16 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001676/2.309, allocations: 15.72 kB / 1.092 GB, free: 53.14 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004429/2.313, allocations: 294.6 kB / 1.092 GB, free: 52.99 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001243/2.314, allocations: 338 kB / 1.092 GB, free: 52.78 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007405/2.315, allocations: 139.8 kB / 1.092 GB, free: 52.65 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.00456/2.32, allocations: 2.334 MB / 1.095 GB, free: 50.62 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.3e-07/2.32, allocations: 0 / 1.095 GB, free: 50.62 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01177/2.331, allocations: 1.801 MB / 1.096 GB, free: 48.84 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (454): * Single equations (assignments): 436 * 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.0302/2.362, allocations: 22.24 MB / 1.118 GB, free: 28.89 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.02166/2.383, allocations: 14.34 MB / 1.132 GB, free: 15.76 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/2.383, allocations: 4 kB / 1.132 GB, free: 15.75 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.01264/2.396, allocations: 7.867 MB / 1.14 GB, free: 8.469 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003227/2.399, allocations: 362.7 kB / 1.14 GB, free: 8.164 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0465/2.446, allocations: 19.04 MB / 1.159 GB, free: 6.188 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3046/2.75, allocations: 5.277 MB / 1.164 GB, free: 123.3 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01244/2.763, allocations: 3.26 MB / 1.167 GB, free: 123.2 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006245/2.769, allocations: 3.396 MB / 1.17 GB, free: 123.2 MB / 0.5574 GB Notification: Performance of SimCode: time 8.02e-07/2.769, allocations: 2.219 kB / 1.17 GB, free: 123.2 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.192/2.961, allocations: 143.1 MB / 1.31 GB, free: 48.09 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/2.962, allocations: 150.4 kB / 1.31 GB, free: 47.89 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.18/9.141, allocations: 0 / 1.31 GB, free: 47.89 MB / 0.5574 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