Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions",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.0009145/0.0009145, allocations: 177.6 kB / 8.002 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.334/1.334, allocations: 205.3 MB / 213.7 MB, free: 1.73 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.0007932/0.0007933, allocations: 83.89 kB / 261.7 MB, free: 1.688 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.2313/0.2313, allocations: 43.49 MB / 353.2 MB, free: 300 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.744e-05/1.747e-05, allocations: 0 / 418.3 MB, free: 28.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1471, allocations: 58.87 MB / 477.2 MB, free: 1.555 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5112/0.6583, allocations: 86.22 MB / 0.5502 GB, free: 8.258 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.6586, allocations: 74.25 kB / 0.5503 GB, free: 8.223 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01495/0.6735, allocations: 6.198 MB / 0.5563 GB, free: 3.328 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.6736, allocations: 0 / 0.5563 GB, free: 3.328 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.13e-05/0.6736, allocations: 19.75 kB / 0.5564 GB, free: 3.312 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0007711/0.6744, allocations: 0.5818 MB / 0.5569 GB, free: 2.711 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.082e-05/0.6745, allocations: 8.031 kB / 0.5569 GB, free: 2.703 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.326e-05/0.6746, allocations: 43.53 kB / 0.557 GB, free: 2.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.6749, allocations: 270.7 kB / 0.5572 GB, free: 2.379 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.6749, allocations: 12 kB / 0.5573 GB, free: 2.367 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.265e-05/0.675, allocations: 31.89 kB / 0.5573 GB, free: 2.336 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003298/0.6753, allocations: 193 kB / 0.5575 GB, free: 2.215 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004545/0.6758, allocations: 302 kB / 0.5578 GB, free: 1.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.6758, allocations: 0 / 0.5578 GB, free: 1.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.6758, allocations: 3.953 kB / 0.5578 GB, free: 1.977 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.6759, allocations: 16 kB / 0.5578 GB, free: 1.961 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.6771, allocations: 1.006 MB / 0.5588 GB, free: 1.094 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003667/0.6775, allocations: 311 kB / 0.5591 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.6777, allocations: 155 kB / 0.5592 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.6778, allocations: 4 kB / 0.5592 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.625e-05/0.6778, allocations: 40.69 kB / 0.5592 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 2.836e-06/0.6778, allocations: 3.984 kB / 0.5592 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.003218/0.6811, allocations: 2.122 MB / 0.5613 GB, free: 14.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.973e-05/0.6812, allocations: 110.8 kB / 0.5614 GB, free: 14.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.6814, allocations: 158.2 kB / 0.5616 GB, free: 14.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.6814, allocations: 25.7 kB / 0.5616 GB, free: 14.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.6816, allocations: 187.5 kB / 0.5618 GB, free: 14.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.6817, allocations: 189.7 kB / 0.562 GB, free: 13.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.568e-05/0.6818, allocations: 0 / 0.562 GB, free: 13.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.682, allocations: 351.4 kB / 0.5623 GB, free: 13.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.6821, allocations: 100.9 kB / 0.5624 GB, free: 13.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.6824, allocations: 196.9 kB / 0.5626 GB, free: 13.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.6826, allocations: 136.2 kB / 0.5627 GB, free: 13.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6826, allocations: 0 / 0.5627 GB, free: 13.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007481/0.6834, allocations: 473.5 kB / 0.5632 GB, free: 12.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.6834, allocations: 7.953 kB / 0.5632 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.6834, allocations: 7.984 kB / 0.5632 GB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003349/0.6838, allocations: 120.1 kB / 0.5633 GB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.6842, allocations: 99.69 kB / 0.5634 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003698/0.6879, allocations: 4.484 MB / 0.5678 GB, free: 8.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.6881, allocations: 8 kB / 0.5678 GB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.6881, allocations: 23.23 kB / 0.5678 GB, free: 8.203 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.6882, allocations: 121.1 kB / 0.5679 GB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006934/0.6889, allocations: 422.7 kB / 0.5683 GB, free: 7.746 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.8e-05/0.689, allocations: 34.88 kB / 0.5683 GB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.534e-05/0.6891, allocations: 48.08 kB / 0.5684 GB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.6891, allocations: 7.953 kB / 0.5684 GB, free: 7.684 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.6891, allocations: 4 kB / 0.5684 GB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.6892, allocations: 3.984 kB / 0.5684 GB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.6908, allocations: 1.19 MB / 0.5696 GB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6908, allocations: 0 / 0.5696 GB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004144/0.6912, allocations: 98.89 kB / 0.5697 GB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002475/0.6915, allocations: 89.83 kB / 0.5698 GB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.6915, allocations: 8 kB / 0.5698 GB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002813/0.6944, allocations: 3.928 MB / 0.5736 GB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/0.6944, allocations: 8.031 kB / 0.5736 GB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.6955, allocations: 0.8835 MB / 0.5745 GB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.003e-05/0.6956, allocations: 112.7 kB / 0.5746 GB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.6956, allocations: 3.75 kB / 0.5746 GB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.6958, allocations: 8 kB / 0.5746 GB, free: 1.508 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.878e-05/0.6959, allocations: 43.77 kB / 0.5746 GB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.696, allocations: 19.73 kB / 0.5746 GB, free: 1.453 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001022/0.6961, allocations: 127.2 kB / 0.5748 GB, free: 1.344 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6961, allocations: 4 kB / 0.5748 GB, free: 1.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006155/0.6967, allocations: 100 kB / 0.5749 GB, free: 1.242 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0015/0.6982, allocations: 1.773 MB / 0.5766 GB, free: 15.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000954/0.6992, allocations: 0.6717 MB / 0.5773 GB, free: 14.99 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6992, allocations: 0 / 0.5773 GB, free: 14.99 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006645/0.6999, allocations: 0.5256 MB / 0.5778 GB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004879/0.7004, allocations: 39.73 kB / 0.5778 GB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.7021, allocations: 0.953 MB / 0.5787 GB, free: 13.53 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.7025, allocations: 0.832 MB / 0.5795 GB, free: 12.67 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00012/0.7027, allocations: 31.27 kB / 0.5796 GB, free: 12.64 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.7028, allocations: 125.7 kB / 0.5797 GB, free: 12.6 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.7029, allocations: 7.938 kB / 0.5797 GB, free: 12.59 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02882/0.7317, allocations: 6.564 MB / 0.5861 GB, free: 6.031 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/0.7319, allocations: 141.3 kB / 0.5862 GB, free: 5.84 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/3.018, allocations: 5.688 kB / 0.5863 GB, free: 5.836 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat does not exist to compare? outputFormat=mat