Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 120.2 kB / 21.94 MB, free: 4 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 208.7 kB / 25.24 MB, free: 3.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 207.6 MB / 236 MB, free: 9.969 MB / 190.1 MB " [Timeout remaining time 178] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 55.92 kB / 348.4 MB, free: 9.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2455, allocations: 49.15 MB / 397.6 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002163/0.2476, allocations: 1.189 MB / 398.8 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00277/0.2504, allocations: 2.12 MB / 400.9 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.87e-05/0.2504, allocations: 1 kB / 400.9 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/0.2504, allocations: 0.6562 kB / 400.9 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.2516, allocations: 433.8 kB / 401.3 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.518e-05/0.2516, allocations: 13.86 kB / 401.3 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.532e-05/0.2516, allocations: 4.516 kB / 401.3 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.2517, allocations: 6.312 kB / 401.3 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.921e-05/0.2517, allocations: 6.625 kB / 401.3 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.2518, allocations: 10.53 kB / 401.4 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.307e-06/0.2518, allocations: 0 / 401.4 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006654/0.2525, allocations: 484.6 kB / 401.8 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.096e-05/0.2525, allocations: 2.391 kB / 401.8 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.88e-05/0.2525, allocations: 1.344 kB / 401.8 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004745/0.253, allocations: 347.3 kB / 402.2 MB, free: 6.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.253, allocations: 0 / 402.2 MB, free: 6.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.253, allocations: 0.7031 kB / 402.2 MB, free: 6.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.253, allocations: 1.344 kB / 402.2 MB, free: 6.742 MB / 318.1 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.0003469/0.2533, allocations: 335.2 kB / 402.5 MB, free: 6.426 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.2534, allocations: 13.27 kB / 402.5 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.2534, allocations: 78.05 kB / 402.6 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.151e-05/0.2535, allocations: 188.1 kB / 402.8 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.2535, allocations: 158.9 kB / 402.9 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.2536, allocations: 156.4 kB / 403.1 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.108e-05/0.2536, allocations: 101 kB / 403.2 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.2536, allocations: 76.89 kB / 403.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.2536, allocations: 150.6 kB / 403.4 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.2537, allocations: 160.4 kB / 403.6 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.091e-05/0.2537, allocations: 150.6 kB / 403.7 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.2538, allocations: 418.6 kB / 404.1 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.8e-05/0.2539, allocations: 166.3 kB / 404.3 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.2539, allocations: 97.62 kB / 404.4 MB, free: 4.488 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.2539, allocations: 83.27 kB / 404.5 MB, free: 4.406 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001248/0.254, allocations: 46.8 kB / 404.5 MB, free: 4.355 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.933e-06/0.254, allocations: 0 / 404.5 MB, free: 4.355 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001198/0.2542, allocations: 36.78 kB / 404.5 MB, free: 4.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.2542, allocations: 55.25 kB / 404.6 MB, free: 4.258 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.319e-05/0.2542, allocations: 107.7 kB / 404.7 MB, free: 4.148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.571e-06/0.2543, allocations: 26.86 kB / 404.7 MB, free: 4.117 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.057e-05/0.2543, allocations: 85.52 kB / 404.8 MB, free: 4.031 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.146e-05/0.2543, allocations: 0 / 404.8 MB, free: 4.031 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-05/0.2543, allocations: 11.59 kB / 404.8 MB, free: 4.016 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.069e-05/0.2543, allocations: 314.5 kB / 405.1 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.584e-06/0.2544, allocations: 0 / 405.1 MB, free: 3.703 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.37e-06/0.2544, allocations: 1.031 kB / 405.1 MB, free: 3.703 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.1e-05/0.2544, allocations: 12.14 kB / 405.1 MB, free: 3.691 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2544, allocations: 0 / 405.1 MB, free: 3.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.432e-05/0.2544, allocations: 40.59 kB / 405.2 MB, free: 3.652 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.2544, allocations: 4.531 kB / 405.2 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2544, allocations: 6.734 kB / 405.2 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.2545, allocations: 0 / 405.2 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.782e-05/0.2545, allocations: 5.031 kB / 405.2 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.2545, allocations: 0 / 405.2 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.562e-05/0.2545, allocations: 0 / 405.2 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.2545, allocations: 1.188 kB / 405.2 MB, free: 3.645 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.438e-05/0.2545, allocations: 115.7 kB / 405.3 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-06/0.2545, allocations: 1.734 kB / 405.3 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.347e-05/0.2546, allocations: 9.953 kB / 405.3 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2546, allocations: 0.75 kB / 405.3 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2546, allocations: 0 / 405.3 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.2546, allocations: 1.25 kB / 405.3 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.72e-05/0.2546, allocations: 126.4 kB / 405.4 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.2546, allocations: 0.7031 kB / 405.4 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.125e-06/0.2547, allocations: 0 / 405.4 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.2547, allocations: 9.094 kB / 405.5 MB, free: 3.348 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-06/0.2547, allocations: 0.7031 kB / 405.5 MB, free: 3.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2547, allocations: 1.156 kB / 405.5 MB, free: 3.348 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2547, allocations: 0 / 405.5 MB, free: 3.348 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.071e-05/0.2547, allocations: 66.16 kB / 405.5 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-06/0.2547, allocations: 6.031 kB / 405.5 MB, free: 3.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.2547, allocations: 0.7969 kB / 405.5 MB, free: 3.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.233e-05/0.2547, allocations: 5.344 kB / 405.5 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.044e-05/0.2548, allocations: 0.7031 kB / 405.5 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.2548, allocations: 1.312 kB / 405.5 MB, free: 3.266 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.295e-05/0.2548, allocations: 84.3 kB / 405.6 MB, free: 3.188 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2548, allocations: 0 / 405.6 MB, free: 3.188 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004015/0.2552, allocations: 130.6 kB / 405.7 MB, free: 3.152 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009773/0.2562, allocations: 476.5 kB / 406.2 MB, free: 2.879 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.673e-05/0.2562, allocations: 14.94 kB / 406.2 MB, free: 2.867 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2562, allocations: 1.312 kB / 406.2 MB, free: 2.867 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.48e-06/0.2562, allocations: 1.031 kB / 406.2 MB, free: 2.867 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.2564, allocations: 10.91 kB / 406.2 MB, free: 2.859 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002231/0.2566, allocations: 134.1 kB / 406.4 MB, free: 2.715 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.199e-05/0.2567, allocations: 0.673 MB / 407 MB, free: 2.02 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.934e-05/0.2567, allocations: 13.25 kB / 407.1 MB, free: 2.012 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2567, allocations: 4 kB / 407.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of Templates: time 0.005786/0.2625, allocations: 3.097 MB / 410.2 MB, free: 1.41 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.sim & ./Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.191858689999208]