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.001546/0.001546, allocations: 108.3 kB / 21.93 MB, free: 5.223 MB / 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.001663/0.001663, allocations: 214 kB / 25.23 MB, free: 3.027 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.523/1.523, allocations: 207.7 MB / 236.1 MB, free: 9.805 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.002125/0.002125, allocations: 55.92 kB / 348.4 MB, free: 9.422 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3278, allocations: 49.15 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002492/0.3303, allocations: 1.187 MB / 398.8 MB, free: 8.574 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003341/0.3337, allocations: 2.029 MB / 400.8 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.116e-05/0.3337, allocations: 3.938 kB / 400.8 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.55e-05/0.3337, allocations: 0.75 kB / 400.8 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.3351, allocations: 426 kB / 401.2 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.147e-05/0.3351, allocations: 9.859 kB / 401.2 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.578e-05/0.3352, allocations: 13.58 kB / 401.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.338e-05/0.3353, allocations: 2.203 kB / 401.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.69e-05/0.3353, allocations: 10.47 kB / 401.2 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.155e-05/0.3354, allocations: 3.172 kB / 401.2 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.3354, allocations: 1.156 kB / 401.3 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008558/0.3362, allocations: 444.5 kB / 401.7 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.3362, allocations: 1.859 kB / 401.7 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.3363, allocations: 5.062 kB / 401.7 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005825/0.3368, allocations: 337 kB / 402 MB, free: 6.797 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.3369, allocations: 5.031 kB / 402 MB, free: 6.793 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3369, allocations: 4 kB / 402 MB, free: 6.789 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.3369, allocations: 0 / 402 MB, free: 6.789 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.0003927/0.3373, allocations: 333.7 kB / 402.4 MB, free: 6.477 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.3373, allocations: 14.05 kB / 402.4 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.026e-05/0.3374, allocations: 77.75 kB / 402.4 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.3375, allocations: 183.3 kB / 402.6 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.3375, allocations: 156.3 kB / 402.8 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.3375, allocations: 156.2 kB / 402.9 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.395e-05/0.3376, allocations: 105.6 kB / 403 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.3376, allocations: 76.69 kB / 403.1 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/0.3377, allocations: 155.2 kB / 403.3 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.843e-05/0.3377, allocations: 156 kB / 403.4 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.219e-05/0.3377, allocations: 151.7 kB / 403.6 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.3379, allocations: 402.9 kB / 404 MB, free: 4.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.561e-05/0.3379, allocations: 171.7 kB / 404.1 MB, free: 4.664 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.142e-05/0.338, allocations: 84.19 kB / 404.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.338, allocations: 80.5 kB / 404.3 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.3381, allocations: 51.58 kB / 404.3 MB, free: 4.445 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 2.265e-06/0.3382, allocations: 0 / 404.3 MB, free: 4.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001338/0.3383, allocations: 45 kB / 404.4 MB, free: 4.402 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.3383, allocations: 51.41 kB / 404.4 MB, free: 4.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.101e-05/0.3384, allocations: 103 kB / 404.5 MB, free: 4.238 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.3384, allocations: 26.41 kB / 404.6 MB, free: 4.207 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.124e-05/0.3384, allocations: 81.2 kB / 404.6 MB, free: 4.125 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.248e-05/0.3384, allocations: 0.9375 kB / 404.6 MB, free: 4.125 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/0.3384, allocations: 19.56 kB / 404.7 MB, free: 4.102 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.383e-05/0.3385, allocations: 313.4 kB / 405 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-06/0.3385, allocations: 1.188 kB / 405 MB, free: 3.789 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.309e-06/0.3385, allocations: 1.891 kB / 405 MB, free: 3.789 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.011e-05/0.3385, allocations: 11.3 kB / 405 MB, free: 3.777 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3385, allocations: 1.062 kB / 405 MB, free: 3.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.605e-05/0.3386, allocations: 39.75 kB / 405 MB, free: 3.738 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3386, allocations: 6.75 kB / 405 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3386, allocations: 0 / 405 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3386, allocations: 0 / 405 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.316e-05/0.3386, allocations: 1.797 kB / 405 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3386, allocations: 0 / 405 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.845e-05/0.3387, allocations: 5.188 kB / 405 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.3387, allocations: 0.6094 kB / 405 MB, free: 3.734 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 5.682e-05/0.3387, allocations: 113.2 kB / 405.1 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.3387, allocations: 5.094 kB / 405.1 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.3388, allocations: 9.562 kB / 405.2 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3388, allocations: 0 / 405.2 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.3388, allocations: 2.125 kB / 405.2 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3388, allocations: 0 / 405.2 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.033e-05/0.3388, allocations: 102 kB / 405.3 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.3388, allocations: 0 / 405.3 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.479e-06/0.3389, allocations: 1.797 kB / 405.3 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3389, allocations: 3.938 kB / 405.3 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.3389, allocations: 0.6562 kB / 405.3 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.3389, allocations: 5.188 kB / 405.3 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3389, allocations: 0 / 405.3 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.78e-05/0.3389, allocations: 63.42 kB / 405.3 MB, free: 3.402 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-06/0.3389, allocations: 9.078 kB / 405.3 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.3389, allocations: 4.656 kB / 405.3 MB, free: 3.391 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.255e-05/0.339, allocations: 2.047 kB / 405.3 MB, free: 3.391 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/0.339, allocations: 0.7031 kB / 405.3 MB, free: 3.391 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.339, allocations: 5 kB / 405.3 MB, free: 3.387 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.057e-05/0.339, allocations: 80.59 kB / 405.4 MB, free: 3.312 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.339, allocations: 1.312 kB / 405.4 MB, free: 3.312 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004331/0.3394, allocations: 134.8 kB / 405.6 MB, free: 3.273 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.001078/0.3405, allocations: 493.7 kB / 406 MB, free: 2.984 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.924e-05/0.3406, allocations: 7.469 kB / 406 MB, free: 2.98 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3406, allocations: 1.156 kB / 406 MB, free: 2.98 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.811e-06/0.3406, allocations: 5.125 kB / 406.1 MB, free: 2.977 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.3407, allocations: 10.31 kB / 406.1 MB, free: 2.969 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002577/0.341, allocations: 134.6 kB / 406.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.19e-05/0.341, allocations: 57.5 kB / 406.3 MB, free: 2.754 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.285e-05/0.3411, allocations: 12.75 kB / 406.3 MB, free: 2.746 MB / 318.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3411, allocations: 0 / 406.3 MB, free: 2.746 MB / 318.1 MB Notification: Performance of Templates: time 0.006904/0.348, allocations: 3.097 MB / 409.4 MB, free: 2.145 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.429812924936414]