Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.SpringDamperSeries,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_SpringDamperSeries",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.001035/0.001034, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009956/0.0009953, allocations: 86.62 kB / 261.7 MB, free: 1.684 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.2086/0.2086, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.823e-05/1.82e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.117, allocations: 58.86 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4046/0.5217, allocations: 105.6 MB / 0.5692 GB, free: 5.672 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.5219, allocations: 76.09 kB / 0.5693 GB, free: 5.637 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1719/0.6938, allocations: 69.44 MB / 0.6371 GB, free: 8.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.6939, allocations: 0 / 0.6371 GB, free: 8.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001613/0.694, allocations: 75.98 kB / 0.6372 GB, free: 8.406 MB / 442.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.01109/0.7051, allocations: 3.62 MB / 0.6407 GB, free: 4.723 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.7052, allocations: 8.031 kB / 0.6407 GB, free: 4.715 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009476/0.7147, allocations: 2.073 MB / 0.6427 GB, free: 2.633 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005785/0.7205, allocations: 2.072 MB / 0.6447 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/0.7208, allocations: 132 kB / 0.6449 GB, free: 392 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001788/0.7226, allocations: 232 kB / 0.6451 GB, free: 160 kB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01069/0.7333, allocations: 6.076 MB / 0.651 GB, free: 10.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01822/0.7516, allocations: 9.153 MB / 0.66 GB, free: 15.98 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001675/0.7518, allocations: 51.47 kB / 0.66 GB, free: 15.93 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007759/0.7526, allocations: 28 kB / 0.66 GB, free: 15.9 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001512/0.7541, allocations: 1.073 MB / 0.6611 GB, free: 14.82 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05155/0.8056, allocations: 44.37 MB / 0.7044 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2902/1.096, allocations: 3.486 MB / 0.7078 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002903/1.099, allocations: 2.23 MB / 0.71 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007043/1.1, allocations: 0.7138 MB / 0.7107 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/1.1, allocations: 54.25 kB / 0.7107 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=190): time 6.783e-06/1.1, allocations: 0 / 0.7107 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=235): time 0.04637/1.146, allocations: 23.26 MB / 0.7335 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/1.146, allocations: 204 kB / 0.7337 GB, free: 131 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003622/1.15, allocations: 2.495 MB / 0.7361 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005788/1.15, allocations: 25.7 kB / 0.7361 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001571/1.152, allocations: 2.851 MB / 0.7389 GB, free: 129 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001128/1.153, allocations: 0.8458 MB / 0.7397 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002669/1.153, allocations: 3.969 kB / 0.7397 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003519/1.154, allocations: 0.6262 MB / 0.7403 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002786/1.157, allocations: 2.502 MB / 0.7428 GB, free: 127.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004094/1.161, allocations: 6.037 MB / 0.7487 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004347/1.165, allocations: 3.859 MB / 0.7524 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.662e-05/1.165, allocations: 35.75 kB / 0.7525 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=818) (initialization): time 0.01326/1.178, allocations: 8.56 MB / 0.7608 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/1.178, allocations: 57.59 kB / 0.7609 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001467/1.179, allocations: 126.3 kB / 0.761 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002525/1.181, allocations: 1.052 MB / 0.762 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005404/1.187, allocations: 1.481 MB / 0.7635 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005023/1.192, allocations: 5.081 MB / 0.7685 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005299/1.197, allocations: 220.1 kB / 0.7687 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001661/1.199, allocations: 381.8 kB / 0.769 GB, free: 113.6 MB / 0.4948 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.0026/1.201, allocations: 428.5 kB / 0.7694 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008878/1.21, allocations: 4.664 MB / 0.774 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/1.211, allocations: 283.6 kB / 0.7743 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008312/1.22, allocations: 4.467 MB / 0.7786 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.957e-05/1.22, allocations: 29.17 kB / 0.7787 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.31e-05/1.22, allocations: 4 kB / 0.7787 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.981e-05/1.22, allocations: 13.8 kB / 0.7787 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02006/1.24, allocations: 9.757 MB / 0.7882 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.263e-05/1.24, allocations: 0 / 0.7882 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002478/1.243, allocations: 407.7 kB / 0.7886 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002444/1.245, allocations: 0.8578 MB / 0.7894 GB, free: 99.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006117/1.246, allocations: 11.84 kB / 0.7894 GB, free: 99.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003941/1.25, allocations: 4.439 MB / 0.7938 GB, free: 95.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/1.25, allocations: 4.031 kB / 0.7938 GB, free: 95.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01194/1.262, allocations: 8.006 MB / 0.8016 GB, free: 88.21 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002124/1.264, allocations: 0.7335 MB / 0.8023 GB, free: 87.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001305/1.265, allocations: 4 kB / 0.8023 GB, free: 87.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002895/1.268, allocations: 96.62 kB / 0.8024 GB, free: 87.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006531/1.269, allocations: 142.6 kB / 0.8025 GB, free: 87.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004277/1.269, allocations: 56.78 kB / 0.8026 GB, free: 87.32 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003905/1.273, allocations: 1.627 MB / 0.8042 GB, free: 85.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.4e-07/1.273, allocations: 0 / 0.8042 GB, free: 85.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007463/1.281, allocations: 0.8705 MB / 0.805 GB, free: 85.03 MB / 0.4948 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.01205/1.293, allocations: 8.95 MB / 0.8138 GB, free: 76.94 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01038/1.303, allocations: 6.504 MB / 0.8201 GB, free: 70.99 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.303, allocations: 0 / 0.8201 GB, free: 70.99 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004401/1.308, allocations: 2.771 MB / 0.8228 GB, free: 68.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002572/1.31, allocations: 218.4 kB / 0.823 GB, free: 68.24 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02463/1.335, allocations: 9.219 MB / 0.832 GB, free: 60.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004744/1.34, allocations: 3.133 MB / 0.8351 GB, free: 57.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005139/1.345, allocations: 2.043 MB / 0.8371 GB, free: 56.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002683/1.348, allocations: 1.713 MB / 0.8388 GB, free: 54.92 MB / 0.4948 GB Notification: Performance of SimCode: time 1.342e-06/1.348, allocations: 0 / 0.8388 GB, free: 54.92 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.387/1.735, allocations: 69.98 MB / 0.9071 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/1.735, allocations: 144.6 kB / 0.9072 GB, free: 121 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.043/5.778, allocations: 0 / 0.9072 GB, free: 121 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_SpringDamperSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_SpringDamperSeries.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat does not exist to compare? outputFormat=mat