Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Utilities.Examples.readRealParameterModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_trunk_cpp_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_trunk_cpp_Modelica.Utilities.Examples.readRealParameterModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002202/0.002202, allocations: 198.8 kB / 18.07 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 3.594/3.594, allocations: 226.5 MB / 245.4 MB, free: 6.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001151/0.001151, allocations: 92.03 kB / 297.4 MB, free: 6.711 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003557, allocations: 7.984 kB / 357.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4913/0.4917, allocations: 51.3 MB / 408.6 MB, free: 27.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2/0.6918, allocations: 79.86 MB / 488.5 MB, free: 11.78 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003866/0.6923, allocations: 71.97 kB / 488.6 MB, free: 11.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03903/0.7314, allocations: 6.849 MB / 495.4 MB, free: 4.871 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.432e-06/0.7315, allocations: 4 kB / 495.4 MB, free: 4.867 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.7315, allocations: 0 / 495.4 MB, free: 4.867 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001235/0.7328, allocations: 435.4 kB / 495.9 MB, free: 4.391 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.667e-05/0.7329, allocations: 8.031 kB / 495.9 MB, free: 4.383 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.733, allocations: 88.11 kB / 495.9 MB, free: 4.297 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.7333, allocations: 243.6 kB / 496.2 MB, free: 4.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.7334, allocations: 154.9 kB / 496.3 MB, free: 3.867 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.649e-05/0.7335, allocations: 150.9 kB / 496.5 MB, free: 3.719 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.7337, allocations: 105.5 kB / 496.6 MB, free: 3.609 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.422e-05/0.7337, allocations: 79.47 kB / 496.7 MB, free: 3.531 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.7339, allocations: 158.5 kB / 496.8 MB, free: 3.375 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/0.734, allocations: 154.5 kB / 497 MB, free: 3.223 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.7341, allocations: 150.6 kB / 497.1 MB, free: 3.074 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004958/0.7346, allocations: 449.9 kB / 497.6 MB, free: 2.586 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.7348, allocations: 173.1 kB / 497.7 MB, free: 2.406 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.073e-05/0.7349, allocations: 80.14 kB / 497.8 MB, free: 2.324 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.304e-05/0.7349, allocations: 75.28 kB / 497.9 MB, free: 2.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/0.7351, allocations: 47.41 kB / 497.9 MB, free: 2.191 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 5.05e-06/0.7351, allocations: 0 / 497.9 MB, free: 2.191 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002438/0.7354, allocations: 45.56 kB / 498 MB, free: 2.141 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.5e-05/0.7355, allocations: 55.41 kB / 498 MB, free: 2.074 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.7357, allocations: 97.86 kB / 498.1 MB, free: 1.969 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.7357, allocations: 25.7 kB / 498.1 MB, free: 1.938 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.7358, allocations: 80.14 kB / 498.2 MB, free: 1.855 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.7358, allocations: 4 kB / 498.2 MB, free: 1.852 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.7358, allocations: 0 / 498.2 MB, free: 1.852 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000242/0.7361, allocations: 314.8 kB / 498.5 MB, free: 1.535 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/0.7361, allocations: 8.125 kB / 498.5 MB, free: 1.527 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.338e-06/0.7361, allocations: 0 / 498.5 MB, free: 1.527 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.42e-05/0.7362, allocations: 12.8 kB / 498.6 MB, free: 1.512 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.7362, allocations: 0 / 498.6 MB, free: 1.512 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.249e-05/0.7363, allocations: 33.61 kB / 498.6 MB, free: 1.473 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.7363, allocations: 11.94 kB / 498.6 MB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.7364, allocations: 0 / 498.6 MB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.7364, allocations: 0 / 498.6 MB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.649e-05/0.7364, allocations: 3.938 kB / 498.6 MB, free: 1.457 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.7364, allocations: 8.078 kB / 498.6 MB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.456e-05/0.7365, allocations: 0 / 498.6 MB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.7365, allocations: 0 / 498.6 MB, free: 1.449 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 0.0001328/0.7366, allocations: 109.8 kB / 498.7 MB, free: 1.332 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.7367, allocations: 7.938 kB / 498.7 MB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.612e-05/0.7367, allocations: 3.312 kB / 498.7 MB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.7367, allocations: 4 kB / 498.7 MB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.7368, allocations: 3.984 kB / 498.7 MB, free: 1.312 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.7368, allocations: 0 / 498.7 MB, free: 1.312 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.737, allocations: 153.7 kB / 498.9 MB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.737, allocations: 0 / 498.9 MB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.703e-06/0.737, allocations: 7.938 kB / 498.9 MB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.737, allocations: 3.938 kB / 498.9 MB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.7371, allocations: 4 kB / 498.9 MB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.7371, allocations: 3.938 kB / 498.9 MB, free: 1.094 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.7371, allocations: 0 / 498.9 MB, free: 1.094 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.7372, allocations: 61.12 kB / 499 MB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.505e-05/0.7373, allocations: 81.14 kB / 499 MB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.7373, allocations: 7.922 kB / 499 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.634e-05/0.7373, allocations: 0 / 499 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.116e-05/0.7374, allocations: 0 / 499 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.7374, allocations: 4 kB / 499.1 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.9e-05/0.7375, allocations: 83.28 kB / 499.1 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7375, allocations: 0 / 499.1 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00122/0.7387, allocations: 191.8 kB / 499.3 MB, free: 0.6367 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.002444/0.7412, allocations: 0.5347 MB / 499.9 MB, free: 164 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.7414, allocations: 7.938 kB / 499.9 MB, free: 156 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.7414, allocations: 4.062 kB / 499.9 MB, free: 152 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.212e-05/0.7414, allocations: 3.984 kB / 499.9 MB, free: 148 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.7417, allocations: 4 kB / 499.9 MB, free: 144 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006838/0.7424, allocations: 142.3 kB / 0.4883 GB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006118/0.743, allocations: 0.677 MB / 0.489 GB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.887e-05/0.7431, allocations: 11.44 kB / 0.489 GB, free: 15.25 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.7431, allocations: 4.062 kB / 0.489 GB, free: 15.25 MB / 378.7 MB Notification: Performance of Templates: time 0.0117/0.7548, allocations: 3.385 MB / 0.4923 GB, free: 11.86 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Utilities.Examples.readRealParameterModel.makefile (rm -f Modelica_trunk_cpp_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_trunk_cpp_Modelica.Utilities.Examples.readRealParameterModel.sim & ./Modelica_trunk_cpp_Modelica.Utilities.Examples.readRealParameterModel --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Utilities.Examples.readRealParameterModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","../files/Modelica_trunk_cpp_Modelica.Utilities.Examples.readRealParameterModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches