Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.Directions2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions2",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.001078/0.001079, allocations: 183.5 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 1.835/1.835, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008863/0.0008863, allocations: 97.11 kB / 267.1 MB, free: 9.273 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.4947/0.4947, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5e-05/5.002e-05, allocations: 0 / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.163, allocations: 58.84 MB / 484.2 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.489/0.6521, allocations: 86.87 MB / 0.5577 GB, free: 17 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.6524, allocations: 71.44 kB / 0.5578 GB, free: 16.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01635/0.6688, allocations: 6.089 MB / 0.5637 GB, free: 13.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6688, allocations: 4 kB / 0.5637 GB, free: 13.4 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.6688, allocations: 8 kB / 0.5638 GB, free: 13.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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0007167/0.6695, allocations: 0.5485 MB / 0.5643 GB, free: 12.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.6696, allocations: 12.03 kB / 0.5643 GB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.396e-05/0.6697, allocations: 77.42 kB / 0.5644 GB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.034e-05/0.6697, allocations: 43.53 kB / 0.5644 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.67, allocations: 259.4 kB / 0.5647 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.67, allocations: 25.81 kB / 0.5647 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.99e-05/0.6701, allocations: 48.02 kB / 0.5647 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005102/0.6706, allocations: 366.9 kB / 0.5651 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.6707, allocations: 17.47 kB / 0.5651 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.118e-05/0.6707, allocations: 19.02 kB / 0.5651 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.6707, allocations: 8 kB / 0.5651 GB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003216/0.671, allocations: 195.8 kB / 0.5653 GB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.673, allocations: 1.724 MB / 0.567 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000348/0.6734, allocations: 250.1 kB / 0.5672 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.6735, allocations: 85.89 kB / 0.5673 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.6735, allocations: 4 kB / 0.5673 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.6736, allocations: 48.31 kB / 0.5674 GB, free: 10.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 2.174e-06/0.6736, allocations: 0 / 0.5674 GB, free: 10.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=26): time 0.000433/0.674, allocations: 186.4 kB / 0.5675 GB, free: 9.906 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.6741, allocations: 213.6 kB / 0.5677 GB, free: 9.648 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.6743, allocations: 241.9 kB / 0.568 GB, free: 9.445 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.6743, allocations: 35.53 kB / 0.568 GB, free: 9.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.6745, allocations: 237.6 kB / 0.5682 GB, free: 9.207 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.456e-05/0.6745, allocations: 111.8 kB / 0.5683 GB, free: 9.113 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.522e-05/0.6745, allocations: 13 kB / 0.5684 GB, free: 9.109 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.117e-05/0.6746, allocations: 349.8 kB / 0.5687 GB, free: 8.773 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.6748, allocations: 80.25 kB / 0.5688 GB, free: 8.723 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.675, allocations: 417.2 kB / 0.5692 GB, free: 8.199 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.6752, allocations: 156.1 kB / 0.5693 GB, free: 8.086 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.6752, allocations: 5.312 kB / 0.5693 GB, free: 8.082 MB / 394.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006019/0.6758, allocations: 0.4999 MB / 0.5698 GB, free: 7.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.6759, allocations: 8 kB / 0.5698 GB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.6759, allocations: 12.91 kB / 0.5698 GB, free: 7.641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/0.6759, allocations: 20 kB / 0.5698 GB, free: 7.621 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.6763, allocations: 151.2 kB / 0.57 GB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/0.6764, allocations: 19.94 kB / 0.57 GB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/0.6766, allocations: 78.3 kB / 0.5701 GB, free: 7.391 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.6767, allocations: 27.69 kB / 0.5701 GB, free: 7.367 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.24e-05/0.6768, allocations: 143.3 kB / 0.5702 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.6769, allocations: 38.94 kB / 0.5703 GB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.486e-05/0.677, allocations: 35.78 kB / 0.5703 GB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.677, allocations: 4 kB / 0.5703 GB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.677, allocations: 4 kB / 0.5703 GB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.677, allocations: 5.297 kB / 0.5703 GB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009867/0.678, allocations: 0.6367 MB / 0.571 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.678, allocations: 4 kB / 0.571 GB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004005/0.6784, allocations: 98.75 kB / 0.5711 GB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.6784, allocations: 4 kB / 0.5711 GB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.6785, allocations: 7.922 kB / 0.5711 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-06/0.6785, allocations: 11.94 kB / 0.5711 GB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6785, allocations: 0 / 0.5711 GB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005045/0.679, allocations: 0.8982 MB / 0.572 GB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.714e-05/0.6791, allocations: 108.8 kB / 0.5721 GB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/0.6791, allocations: 17.86 kB / 0.5721 GB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/0.6794, allocations: 15.05 kB / 0.5721 GB, free: 5.359 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.6795, allocations: 23.09 kB / 0.5721 GB, free: 5.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.6795, allocations: 8 kB / 0.5721 GB, free: 5.332 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001605/0.6797, allocations: 183.1 kB / 0.5723 GB, free: 5.184 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6797, allocations: 0 / 0.5723 GB, free: 5.184 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000638/0.6803, allocations: 105 kB / 0.5724 GB, free: 5.094 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007748/0.6811, allocations: 1.992 MB / 0.5743 GB, free: 3.102 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003811/0.6815, allocations: 264.9 kB / 0.5746 GB, free: 2.895 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6815, allocations: 0 / 0.5746 GB, free: 2.895 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.782e-05/0.6816, allocations: 84.55 kB / 0.5747 GB, free: 2.828 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000623/0.6822, allocations: 64.44 kB / 0.5747 GB, free: 2.781 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002309/0.6846, allocations: 1.623 MB / 0.5763 GB, free: 1.16 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.6849, allocations: 0.8072 MB / 0.5771 GB, free: 336 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001754/0.685, allocations: 51.19 kB / 0.5772 GB, free: 284 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.6852, allocations: 113.1 kB / 0.5773 GB, free: 252 kB / 394.7 MB Notification: Performance of SimCode: time 4.91e-07/0.6852, allocations: 0 / 0.5773 GB, free: 252 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.703, allocations: 5.949 MB / 0.5831 GB, free: 10.37 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.7032, allocations: 157.6 kB / 0.5832 GB, free: 10.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.038/2.741, allocations: 0 / 0.5832 GB, free: 10.15 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions2.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat does not exist to compare? outputFormat=mat