Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001534/0.001534, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.143/2.143, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001207/0.001207, allocations: 100 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3015/0.3015, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.809e-05/2.819e-05, allocations: 4.219 kB / 418.3 MB, free: 40.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4446/0.4447, allocations: 58.85 MB / 477.2 MB, free: 5.293 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1952/0.64, allocations: 105.7 MB / 0.5692 GB, free: 9.613 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.6403, allocations: 79.91 kB / 0.5693 GB, free: 9.535 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2939/0.9342, allocations: 69.42 MB / 0.6371 GB, free: 3.512 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.9343, allocations: 4 kB / 0.6371 GB, free: 3.508 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0002076/0.9345, allocations: 71.98 kB / 0.6371 GB, free: 3.438 MB / 475.1 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.351/1.286, allocations: 3.622 MB / 0.6407 GB, free: 108.7 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/1.286, allocations: 8.938 kB / 0.6407 GB, free: 108.7 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01564/1.301, allocations: 2.059 MB / 0.6427 GB, free: 108.5 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007959/1.309, allocations: 2.072 MB / 0.6447 GB, free: 108.2 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003134/1.31, allocations: 130.2 kB / 0.6448 GB, free: 108.2 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002222/1.312, allocations: 233.6 kB / 0.6451 GB, free: 108.2 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01664/1.329, allocations: 6.075 MB / 0.651 GB, free: 108.2 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02623/1.355, allocations: 9.153 MB / 0.6599 GB, free: 105.7 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003197/1.355, allocations: 57.2 kB / 0.66 GB, free: 105.7 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001915/1.357, allocations: 28.31 kB / 0.66 GB, free: 105.7 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002874/1.36, allocations: 1.077 MB / 0.6611 GB, free: 105.7 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06517/1.425, allocations: 44.37 MB / 0.7044 GB, free: 74.95 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005972/1.431, allocations: 3.497 MB / 0.7078 GB, free: 73.06 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00377/1.435, allocations: 2.237 MB / 0.71 GB, free: 72.09 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009186/1.436, allocations: 0.7148 MB / 0.7107 GB, free: 71.49 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/1.436, allocations: 53.44 kB / 0.7107 GB, free: 71.44 MB / 475.1 MB Notification: Performance of pre-optimization done (n=190): time 5.169e-06/1.436, allocations: 3.938 kB / 0.7107 GB, free: 71.44 MB / 475.1 MB Notification: Performance of matching and sorting (n=235): time 0.07996/1.516, allocations: 23.24 MB / 0.7334 GB, free: 60.73 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.578e-05/1.516, allocations: 201.9 kB / 0.7336 GB, free: 60.49 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005199/1.522, allocations: 2.498 MB / 0.7361 GB, free: 58.28 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006184/1.522, allocations: 25.7 kB / 0.7361 GB, free: 58.25 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002168/1.524, allocations: 2.862 MB / 0.7389 GB, free: 55.63 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001413/1.526, allocations: 0.854 MB / 0.7397 GB, free: 54.87 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007914/1.527, allocations: 0 / 0.7397 GB, free: 54.87 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0004403/1.527, allocations: 0.5712 MB / 0.7403 GB, free: 54.36 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00588/1.533, allocations: 2.506 MB / 0.7427 GB, free: 52.1 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008053/1.541, allocations: 6.042 MB / 0.7486 GB, free: 44.64 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008021/1.549, allocations: 3.852 MB / 0.7524 GB, free: 41.33 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001201/1.549, allocations: 36.84 kB / 0.7524 GB, free: 41.29 MB / 475.1 MB Notification: Performance of matching and sorting (n=818) (initialization): time 0.02375/1.573, allocations: 8.522 MB / 0.7607 GB, free: 33.87 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/1.573, allocations: 59.95 kB / 0.7608 GB, free: 33.81 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001701/1.573, allocations: 128 kB / 0.7609 GB, free: 33.69 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004655/1.578, allocations: 1.059 MB / 0.762 GB, free: 32.87 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009739/1.588, allocations: 1.469 MB / 0.7634 GB, free: 31.6 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007284/1.595, allocations: 5.08 MB / 0.7684 GB, free: 26.73 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006707/1.602, allocations: 219.2 kB / 0.7686 GB, free: 26.55 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00151/1.604, allocations: 384.3 kB / 0.7689 GB, free: 26.2 MB / 475.1 MB 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.002224/1.606, allocations: 436.4 kB / 0.7693 GB, free: 25.76 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01235/1.618, allocations: 4.641 MB / 0.7739 GB, free: 21.75 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001216/1.62, allocations: 284.3 kB / 0.7742 GB, free: 21.46 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/1.631, allocations: 4.468 MB / 0.7785 GB, free: 17.73 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.019e-05/1.632, allocations: 31.94 kB / 0.7785 GB, free: 17.7 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.799e-05/1.632, allocations: 4 kB / 0.7785 GB, free: 17.69 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-05/1.632, allocations: 14.12 kB / 0.7786 GB, free: 17.69 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02558/1.657, allocations: 9.748 MB / 0.7881 GB, free: 7.898 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.385e-05/1.657, allocations: 3.938 kB / 0.7881 GB, free: 7.895 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004328/1.662, allocations: 419.7 kB / 0.7885 GB, free: 7.488 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004261/1.666, allocations: 0.8525 MB / 0.7893 GB, free: 6.625 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006036/1.667, allocations: 15.94 kB / 0.7893 GB, free: 6.609 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006048/1.673, allocations: 4.431 MB / 0.7937 GB, free: 1.957 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/1.673, allocations: 7.969 kB / 0.7937 GB, free: 1.949 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01955/1.692, allocations: 8.012 MB / 0.8015 GB, free: 9.859 MB / 491.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002885/1.695, allocations: 0.7275 MB / 0.8022 GB, free: 9.109 MB / 491.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008937/1.696, allocations: 11.89 kB / 0.8022 GB, free: 9.098 MB / 491.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00307/1.699, allocations: 95.83 kB / 0.8023 GB, free: 9.004 MB / 491.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005781/1.7, allocations: 129.8 kB / 0.8024 GB, free: 8.875 MB / 491.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002885/1.7, allocations: 65.16 kB / 0.8025 GB, free: 8.812 MB / 491.1 MB Notification: Performance of sorting global known variables: time 0.004081/1.704, allocations: 1.622 MB / 0.8041 GB, free: 7.188 MB / 491.1 MB Notification: Performance of sort global known variables: time 3.377e-06/1.704, allocations: 0 / 0.8041 GB, free: 7.188 MB / 491.1 MB Notification: Performance of remove unused functions: time 0.007323/1.712, allocations: 0.8785 MB / 0.8049 GB, free: 6.316 MB / 491.1 MB 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.02156/1.733, allocations: 8.956 MB / 0.8137 GB, free: 13.3 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.01755/1.751, allocations: 6.495 MB / 0.82 GB, free: 6.777 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.414e-05/1.751, allocations: 0 / 0.82 GB, free: 6.777 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.008443/1.759, allocations: 2.787 MB / 0.8227 GB, free: 3.93 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002471/1.762, allocations: 212.1 kB / 0.8229 GB, free: 3.727 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3735/2.135, allocations: 9.653 MB / 0.8324 GB, free: 128.2 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008361/2.144, allocations: 3.138 MB / 0.8354 GB, free: 127.5 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005422/2.149, allocations: 1.752 MB / 0.8371 GB, free: 127.5 MB / 0.4952 GB Notification: Performance of SimCode: time 1.714e-06/2.149, allocations: 0 / 0.8371 GB, free: 127.5 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.444/6.594, allocations: 141.9 MB / 0.9757 GB, free: 31.61 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_SpringDamperSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_SpringDamperSeries.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat does not exist to compare? outputFormat=mat