Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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.SimpleDriveTrain,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain",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.001009/0.001009, allocations: 182.9 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.674/1.674, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0008733/0.0008731, allocations: 86.59 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.5735/0.5735, allocations: 43.46 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.688e-05/3.689e-05, allocations: 4 kB / 425.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1524, allocations: 58.85 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.562/0.7145, allocations: 86.29 MB / 0.5572 GB, free: 17.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/0.7149, allocations: 77.58 kB / 0.5572 GB, free: 17.31 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006823/0.7217, allocations: 2.489 MB / 0.5597 GB, free: 15.78 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.7217, allocations: 0 / 0.5597 GB, free: 15.78 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.7218, allocations: 8 kB / 0.5597 GB, free: 15.77 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004765/0.7222, allocations: 409.5 kB / 0.5601 GB, free: 15.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.848e-05/0.7223, allocations: 12.03 kB / 0.5601 GB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.746e-05/0.7224, allocations: 52.95 kB / 0.5601 GB, free: 15.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.7224, allocations: 16.88 kB / 0.5602 GB, free: 15.28 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.7227, allocations: 194.2 kB / 0.5603 GB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.7227, allocations: 11.94 kB / 0.5603 GB, free: 15.06 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/0.7228, allocations: 19.8 kB / 0.5604 GB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.723, allocations: 115.2 kB / 0.5605 GB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.7231, allocations: 1.375 kB / 0.5605 GB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.7231, allocations: 8.859 kB / 0.5605 GB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.7231, allocations: 4 kB / 0.5605 GB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.7233, allocations: 68.05 kB / 0.5606 GB, free: 14.92 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008128/0.7241, allocations: 475.7 kB / 0.561 GB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.7243, allocations: 105 kB / 0.5611 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.889e-05/0.7244, allocations: 50.92 kB / 0.5612 GB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.7245, allocations: 4 kB / 0.5612 GB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.7245, allocations: 43.31 kB / 0.5612 GB, free: 14.37 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.7245, allocations: 0 / 0.5612 GB, free: 14.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.001304/0.7258, allocations: 0.7529 MB / 0.5619 GB, free: 13.67 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.7259, allocations: 51.41 kB / 0.562 GB, free: 13.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.726, allocations: 132.6 kB / 0.5621 GB, free: 13.49 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.726, allocations: 28.77 kB / 0.5621 GB, free: 13.46 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.565e-05/0.7261, allocations: 117.4 kB / 0.5623 GB, free: 13.36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/0.7261, allocations: 68.41 kB / 0.5623 GB, free: 13.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-06/0.7261, allocations: 3.875 kB / 0.5623 GB, free: 13.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.7262, allocations: 327.1 kB / 0.5626 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.458e-05/0.7263, allocations: 35.81 kB / 0.5627 GB, free: 12.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.275e-05/0.7264, allocations: 74.27 kB / 0.5627 GB, free: 12.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.081e-05/0.7265, allocations: 51.61 kB / 0.5628 GB, free: 12.86 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.7265, allocations: 0 / 0.5628 GB, free: 12.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003041/0.7268, allocations: 190.7 kB / 0.563 GB, free: 12.72 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.7268, allocations: 10.17 kB / 0.563 GB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.7268, allocations: 3.938 kB / 0.563 GB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/0.727, allocations: 43.58 kB / 0.563 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.7272, allocations: 37.91 kB / 0.5631 GB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.7285, allocations: 1.546 MB / 0.5646 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.821e-05/0.7286, allocations: 13.19 kB / 0.5646 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.7286, allocations: 4 kB / 0.5646 GB, free: 11.14 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.321e-05/0.7287, allocations: 114.2 kB / 0.5647 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.7287, allocations: 16.56 kB / 0.5647 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.006e-05/0.7288, allocations: 17.22 kB / 0.5647 GB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.7288, allocations: 4.719 kB / 0.5647 GB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.7288, allocations: 4 kB / 0.5647 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.7288, allocations: 1.266 kB / 0.5647 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006848/0.7295, allocations: 0.5391 MB / 0.5653 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.7295, allocations: 32 / 0.5653 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.7297, allocations: 43.3 kB / 0.5653 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.202e-05/0.7298, allocations: 29.3 kB / 0.5653 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.7298, allocations: 7.828 kB / 0.5653 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008732/0.7307, allocations: 1.378 MB / 0.5667 GB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.7307, allocations: 0 / 0.5667 GB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.7311, allocations: 347.8 kB / 0.567 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-05/0.7312, allocations: 90.34 kB / 0.5671 GB, free: 8.695 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.7312, allocations: 4.562 kB / 0.5671 GB, free: 8.695 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.391e-05/0.7313, allocations: 7.188 kB / 0.5671 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.025e-05/0.7314, allocations: 13.72 kB / 0.5671 GB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.7314, allocations: 7.188 kB / 0.5671 GB, free: 8.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.843e-05/0.7315, allocations: 100.9 kB / 0.5672 GB, free: 8.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7315, allocations: 0 / 0.5672 GB, free: 8.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003008/0.7318, allocations: 43.53 kB / 0.5673 GB, free: 8.555 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007469/0.7325, allocations: 0.9418 MB / 0.5682 GB, free: 7.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004698/0.733, allocations: 263.6 kB / 0.5684 GB, free: 7.449 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.733, allocations: 0 / 0.5684 GB, free: 7.449 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.7332, allocations: 184.3 kB / 0.5686 GB, free: 7.285 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.7336, allocations: 19.61 kB / 0.5686 GB, free: 7.273 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008088/0.7344, allocations: 376.9 kB / 0.569 GB, free: 6.938 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.7347, allocations: 0.7299 MB / 0.5697 GB, free: 6.199 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.796e-05/0.7347, allocations: 8.266 kB / 0.5697 GB, free: 6.191 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.11e-05/0.7348, allocations: 44.28 kB / 0.5698 GB, free: 6.176 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7348, allocations: 0 / 0.5698 GB, free: 6.176 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01764/0.7525, allocations: 3.027 MB / 0.5727 GB, free: 4.105 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/0.7527, allocations: 179.7 kB / 0.5729 GB, free: 3.883 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/2.5, allocations: 0 / 0.5729 GB, free: 3.883 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat does not exist to compare? outputFormat=mat