Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.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.SpringDamperParallel,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_SpringDamperParallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperParallel,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_SpringDamperParallel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002007/0.002007, allocations: 186.4 kB / 13.19 MB, free: 2.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.723/1.723, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.00112/0.00112, allocations: 82.62 kB / 267 MB, free: 9.293 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.4526/0.4526, allocations: 43.47 MB / 358.6 MB, free: 52.29 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.547e-05/3.548e-05, allocations: 7.984 kB / 425.4 MB, free: 8.789 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1423, allocations: 58.85 MB / 484.3 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4354/0.5777, allocations: 104.5 MB / 0.5749 GB, free: 460 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.5781, allocations: 80.27 kB / 0.575 GB, free: 384 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6733/1.251, allocations: 127.7 MB / 0.6997 GB, free: 81.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.014e-06/1.251, allocations: 0 / 0.6997 GB, free: 81.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005677/1.252, allocations: 135.4 kB / 0.6998 GB, free: 81.33 MB / 490.7 MB 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.03044/1.282, allocations: 6.744 MB / 0.7064 GB, free: 78.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/1.283, allocations: 9.031 kB / 0.7064 GB, free: 78.75 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007453/1.29, allocations: 1.308 MB / 0.7077 GB, free: 78.65 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01572/1.306, allocations: 2.802 MB / 0.7104 GB, free: 78.17 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0159/1.322, allocations: 3.885 MB / 0.7142 GB, free: 77.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001324/1.323, allocations: 0.55 MB / 0.7148 GB, free: 77.42 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006405/1.33, allocations: 0.7381 MB / 0.7155 GB, free: 77.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06912/1.399, allocations: 20.5 MB / 0.7355 GB, free: 72.99 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007954/1.4, allocations: 81.03 kB / 0.7356 GB, free: 72.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004838/1.404, allocations: 350.7 kB / 0.7359 GB, free: 72.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003723/1.408, allocations: 1.955 MB / 0.7378 GB, free: 72.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0521/1.46, allocations: 17.99 MB / 0.7554 GB, free: 67.59 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1082/1.569, allocations: 74.98 MB / 0.8286 GB, free: 8.387 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02298/1.592, allocations: 8.627 MB / 0.837 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009554/1.601, allocations: 5.734 MB / 0.8426 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04515/1.646, allocations: 19.9 MB / 0.8621 GB, free: 6.074 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.469e-05/1.647, allocations: 77.11 kB / 0.8621 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=386): time 1.343e-05/1.647, allocations: 0 / 0.8621 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of matching and sorting (n=531): time 0.5722/2.219, allocations: 59.1 MB / 0.9199 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.12e-05/2.219, allocations: 183.5 kB / 0.92 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01189/2.231, allocations: 4.523 MB / 0.9245 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002346/2.233, allocations: 106.4 kB / 0.9246 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004303/2.238, allocations: 4.529 MB / 0.929 GB, free: 98.17 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.004322/2.242, allocations: 1.902 MB / 0.9308 GB, free: 96.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002525/2.245, allocations: 204.2 kB / 0.931 GB, free: 96.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001045/2.246, allocations: 0.731 MB / 0.9317 GB, free: 96.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009739/2.255, allocations: 5.478 MB / 0.9371 GB, free: 94.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01287/2.268, allocations: 10.36 MB / 0.9472 GB, free: 85.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0203/2.289, allocations: 7.517 MB / 0.9546 GB, free: 82.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002832/2.289, allocations: 51.66 kB / 0.9546 GB, free: 82.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1325) (initialization): time 0.05886/2.348, allocations: 18.48 MB / 0.9726 GB, free: 76.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003361/2.348, allocations: 78.28 kB / 0.9727 GB, free: 76.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000443/2.349, allocations: 168.2 kB / 0.9729 GB, free: 76.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009696/2.358, allocations: 3.138 MB / 0.9759 GB, free: 75.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01168/2.37, allocations: 2.386 MB / 0.9783 GB, free: 74.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02496/2.395, allocations: 24.22 MB / 1.002 GB, free: 51.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01209/2.407, allocations: 0.5749 MB / 1.002 GB, free: 50.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00336/2.411, allocations: 0.5615 MB / 1.003 GB, free: 50.18 MB / 0.5105 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 () * 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.005865/2.417, allocations: 0.8433 MB / 1.004 GB, free: 49.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002916/2.42, allocations: 0.5477 MB / 1.004 GB, free: 48.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03012/2.45, allocations: 13.19 MB / 1.017 GB, free: 37.83 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-05/2.45, allocations: 52 kB / 1.017 GB, free: 37.78 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.041e-05/2.45, allocations: 12 kB / 1.017 GB, free: 37.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001712/2.45, allocations: 23.02 kB / 1.017 GB, free: 37.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.062/2.512, allocations: 26.06 MB / 1.043 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.497e-05/2.512, allocations: 4 kB / 1.043 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005592/2.518, allocations: 0.901 MB / 1.044 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009008/2.527, allocations: 3.335 MB / 1.047 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00177/2.529, allocations: 104 kB / 1.047 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4009/2.93, allocations: 21.06 MB / 1.068 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/2.93, allocations: 6.094 kB / 1.068 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03767/2.968, allocations: 21.07 MB / 1.088 GB, free: 103 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006143/2.974, allocations: 1.601 MB / 1.09 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00299/2.977, allocations: 94.25 kB / 1.09 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006476/2.983, allocations: 358 kB / 1.09 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00208/2.985, allocations: 351.8 kB / 1.091 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006843/2.986, allocations: 134.1 kB / 1.091 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007254/2.993, allocations: 3.1 MB / 1.094 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.91e-07/2.993, allocations: 0 / 1.094 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01517/3.009, allocations: 2.079 MB / 1.096 GB, free: 102.7 MB / 0.5261 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 () * 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.04363/3.052, allocations: 22.76 MB / 1.118 GB, free: 93.03 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02843/3.081, allocations: 14.55 MB / 1.132 GB, free: 87.38 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/3.081, allocations: 0 / 1.132 GB, free: 87.38 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01455/3.095, allocations: 7.889 MB / 1.14 GB, free: 83.46 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006138/3.102, allocations: 0.5684 MB / 1.14 GB, free: 83.19 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0531/3.155, allocations: 19.38 MB / 1.159 GB, free: 76.04 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01095/3.166, allocations: 5.289 MB / 1.164 GB, free: 74.32 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01072/3.177, allocations: 3.215 MB / 1.168 GB, free: 74.11 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008029/3.185, allocations: 3.428 MB / 1.171 GB, free: 71.32 MB / 0.5261 GB Notification: Performance of SimCode: time 1.553e-06/3.185, allocations: 0 / 1.171 GB, free: 71.32 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.569/3.754, allocations: 154.8 MB / 1.322 GB, free: 106 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/3.754, allocations: 189.3 kB / 1.322 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.854/11.61, allocations: 3.938 kB / 1.322 GB, free: 105.7 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_SpringDamperParallel_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_SpringDamperParallel.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat does not exist to compare? outputFormat=mat