Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3",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.001021/0.001021, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.112/2.112, 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.0009824/0.0009823, allocations: 88.98 kB / 267.1 MB, free: 9.281 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.5266/0.5266, allocations: 43.46 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.203e-05/3.205e-05, allocations: 4 kB / 425.4 MB, free: 8.125 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.149, allocations: 58.84 MB / 484.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4783/0.6273, allocations: 84.56 MB / 0.5555 GB, free: 18.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.6276, allocations: 60.47 kB / 0.5555 GB, free: 18.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004942/0.6326, allocations: 2.023 MB / 0.5575 GB, free: 17.4 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6326, allocations: 3.5 kB / 0.5575 GB, free: 17.4 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.6326, allocations: 4 kB / 0.5575 GB, free: 17.39 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0003411/0.633, allocations: 381 kB / 0.5579 GB, free: 17 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.633, allocations: 12.03 kB / 0.5579 GB, free: 16.98 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.449e-05/0.6331, allocations: 45.94 kB / 0.5579 GB, free: 16.94 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.6331, allocations: 15.34 kB / 0.558 GB, free: 16.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.6332, allocations: 176.2 kB / 0.5581 GB, free: 16.72 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.6332, allocations: 8.172 kB / 0.5581 GB, free: 16.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.6333, allocations: 11.62 kB / 0.5581 GB, free: 16.71 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.6335, allocations: 129.1 kB / 0.5583 GB, free: 16.61 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.6335, allocations: 0 / 0.5583 GB, free: 16.61 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.6335, allocations: 7.938 kB / 0.5583 GB, free: 16.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.6336, allocations: 5.375 kB / 0.5583 GB, free: 16.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.144e-05/0.6337, allocations: 59.17 kB / 0.5583 GB, free: 16.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00062/0.6343, allocations: 0.5397 MB / 0.5589 GB, free: 16.08 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.6344, allocations: 88.66 kB / 0.5589 GB, free: 15.99 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.454e-05/0.6344, allocations: 34.19 kB / 0.559 GB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.6345, allocations: 0 / 0.559 GB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.6345, allocations: 30.56 kB / 0.559 GB, free: 15.92 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.6345, allocations: 4 kB / 0.559 GB, free: 15.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002871/0.6348, allocations: 105.8 kB / 0.5591 GB, free: 15.83 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.6348, allocations: 85.05 kB / 0.5592 GB, free: 15.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.28e-05/0.6349, allocations: 115.8 kB / 0.5593 GB, free: 15.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.6349, allocations: 25.7 kB / 0.5593 GB, free: 15.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.181e-05/0.635, allocations: 116.4 kB / 0.5594 GB, free: 15.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.635, allocations: 34.16 kB / 0.5595 GB, free: 15.45 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.635, allocations: 3.812 kB / 0.5595 GB, free: 15.45 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.021e-05/0.6351, allocations: 326 kB / 0.5598 GB, free: 15.13 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.395e-05/0.6352, allocations: 15.94 kB / 0.5598 GB, free: 15.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.749e-05/0.6352, allocations: 85.81 kB / 0.5599 GB, free: 15.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.661e-05/0.6353, allocations: 42.08 kB / 0.5599 GB, free: 15 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6353, allocations: 0 / 0.5599 GB, free: 15 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002366/0.6355, allocations: 171.4 kB / 0.5601 GB, free: 14.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.6356, allocations: 8 kB / 0.5601 GB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.6356, allocations: 0 / 0.5601 GB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001674/0.6357, allocations: 36.89 kB / 0.5601 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.917e-05/0.6358, allocations: 18.58 kB / 0.5601 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.6371, allocations: 2.544 MB / 0.5626 GB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.51e-05/0.6372, allocations: 7.906 kB / 0.5626 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.6372, allocations: 4 kB / 0.5626 GB, free: 12.12 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.935e-05/0.6373, allocations: 124.3 kB / 0.5628 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.6373, allocations: 15.8 kB / 0.5628 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.6373, allocations: 13.33 kB / 0.5628 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.6373, allocations: 0 / 0.5628 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6374, allocations: 0 / 0.5628 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.6374, allocations: 4 kB / 0.5628 GB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.6376, allocations: 192.4 kB / 0.563 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.6376, allocations: 0.5625 kB / 0.563 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.13e-05/0.6377, allocations: 18.81 kB / 0.563 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.058e-05/0.6378, allocations: 39.08 kB / 0.563 GB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.6378, allocations: 1.062 kB / 0.563 GB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.6389, allocations: 2.538 MB / 0.5655 GB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6389, allocations: 4.25 kB / 0.5655 GB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.6392, allocations: 321.2 kB / 0.5658 GB, free: 8.734 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.559e-05/0.6392, allocations: 86.72 kB / 0.5659 GB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.6392, allocations: 2.531 kB / 0.5659 GB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.099e-05/0.6393, allocations: 0 / 0.5659 GB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.6393, allocations: 17.78 kB / 0.5659 GB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/0.6393, allocations: 5.125 kB / 0.5659 GB, free: 8.617 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.976e-05/0.6394, allocations: 95.52 kB / 0.566 GB, free: 8.535 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6394, allocations: 4 kB / 0.566 GB, free: 8.531 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000321/0.6397, allocations: 35.22 kB / 0.5661 GB, free: 8.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004413/0.6402, allocations: 0.9127 MB / 0.5669 GB, free: 7.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003543/0.6405, allocations: 287.1 kB / 0.5672 GB, free: 7.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6405, allocations: 4.062 kB / 0.5672 GB, free: 7.316 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.6407, allocations: 269.2 kB / 0.5675 GB, free: 7.051 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.641, allocations: 16.03 kB / 0.5675 GB, free: 7.043 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007049/0.6418, allocations: 445 kB / 0.5679 GB, free: 6.633 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.642, allocations: 0.7169 MB / 0.5686 GB, free: 5.906 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.677e-05/0.642, allocations: 11.73 kB / 0.5686 GB, free: 5.895 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.6421, allocations: 29.62 kB / 0.5687 GB, free: 5.883 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6421, allocations: 4 kB / 0.5687 GB, free: 5.879 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0163/0.6584, allocations: 2.624 MB / 0.5712 GB, free: 4.297 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/0.6586, allocations: 174.3 kB / 0.5714 GB, free: 4.074 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.489/2.148, allocations: 3.938 kB / 0.5714 GB, free: 4.07 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat