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.001505/0.001505, allocations: 86.56 kB / 22 MB, free: 4.746 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.001725/0.001725, allocations: 157.8 kB / 25.24 MB, free: 2.75 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.406/1.406, allocations: 158.6 MB / 187 MB, free: 6.336 MB / 174.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.001836/0.001836, allocations: 62.73 kB / 299.3 MB, free: 6.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2299, allocations: 49.15 MB / 348.5 MB, free: 15.55 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002286/0.2322, allocations: 1.183 MB / 349.7 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003349/0.2355, allocations: 2.024 MB / 351.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.024e-05/0.2355, allocations: 0 / 351.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.926e-05/0.2356, allocations: 4 kB / 351.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.2367, allocations: 438.6 kB / 352.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.807e-05/0.2368, allocations: 7.984 kB / 352.1 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.925e-05/0.2368, allocations: 7.938 kB / 352.1 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.33e-05/0.2369, allocations: 0 / 352.1 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.508e-05/0.2369, allocations: 4 kB / 352.1 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.808e-05/0.2369, allocations: 7.938 kB / 352.1 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.237, allocations: 0 / 352.1 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007258/0.2377, allocations: 447.5 kB / 352.6 MB, free: 11.42 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.2377, allocations: 7.938 kB / 352.6 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.741e-05/0.2377, allocations: 4 kB / 352.6 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005192/0.2382, allocations: 337.4 kB / 352.9 MB, free: 11.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2382, allocations: 0 / 352.9 MB, free: 11.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2382, allocations: 7.938 kB / 352.9 MB, free: 11.08 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.2382, allocations: 0 / 352.9 MB, free: 11.08 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.0004643/0.2387, allocations: 337.5 kB / 353.3 MB, free: 10.72 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.2388, allocations: 11.98 kB / 353.3 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.738e-05/0.2388, allocations: 80.22 kB / 353.4 MB, free: 10.63 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.239, allocations: 189.8 kB / 353.5 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.795e-05/0.2391, allocations: 154.9 kB / 353.7 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-05/0.2391, allocations: 158.7 kB / 353.8 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.895e-05/0.2392, allocations: 104.9 kB / 353.9 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.613e-05/0.2392, allocations: 75.28 kB / 354 MB, free: 9.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.529e-05/0.2393, allocations: 154.6 kB / 354.2 MB, free: 9.777 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.954e-05/0.2394, allocations: 154.6 kB / 354.3 MB, free: 9.625 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.023e-05/0.2395, allocations: 150.6 kB / 354.5 MB, free: 9.477 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.2398, allocations: 397.6 kB / 354.9 MB, free: 9.059 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.776e-05/0.2399, allocations: 173.1 kB / 355 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.555e-05/0.2399, allocations: 84.19 kB / 355.1 MB, free: 8.793 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.796e-05/0.24, allocations: 79.28 kB / 355.2 MB, free: 8.715 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/0.2401, allocations: 47.36 kB / 355.2 MB, free: 8.656 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.854e-06/0.2401, allocations: 0 / 355.2 MB, free: 8.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001369/0.2402, allocations: 45.58 kB / 355.3 MB, free: 8.605 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.2403, allocations: 51.41 kB / 355.3 MB, free: 8.543 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.2404, allocations: 97.86 kB / 355.4 MB, free: 8.438 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.2404, allocations: 29.7 kB / 355.5 MB, free: 8.402 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.2404, allocations: 84.12 kB / 355.5 MB, free: 8.316 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.231e-05/0.2405, allocations: 0 / 355.5 MB, free: 8.316 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.2405, allocations: 13.72 kB / 355.5 MB, free: 8.297 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.2406, allocations: 310.8 kB / 355.9 MB, free: 7.984 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.023e-05/0.2406, allocations: 8.125 kB / 355.9 MB, free: 7.977 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.378e-06/0.2406, allocations: 4 kB / 355.9 MB, free: 7.973 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.131e-05/0.2407, allocations: 4.859 kB / 355.9 MB, free: 7.965 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2407, allocations: 4 kB / 355.9 MB, free: 7.961 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.013e-05/0.2407, allocations: 41.56 kB / 355.9 MB, free: 7.914 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.2407, allocations: 7.938 kB / 355.9 MB, free: 7.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.2407, allocations: 0 / 355.9 MB, free: 7.906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.2407, allocations: 0 / 355.9 MB, free: 7.906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.112e-05/0.2408, allocations: 4 kB / 355.9 MB, free: 7.902 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.2408, allocations: 4.094 kB / 355.9 MB, free: 7.898 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.533e-05/0.2408, allocations: 0 / 355.9 MB, free: 7.898 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.2408, allocations: 0 / 355.9 MB, free: 7.898 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 8.172e-05/0.2409, allocations: 105.8 kB / 356 MB, free: 7.785 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.2409, allocations: 11.94 kB / 356 MB, free: 7.773 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.2409, allocations: 11.09 kB / 356.1 MB, free: 7.762 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.2409, allocations: 3.938 kB / 356.1 MB, free: 7.758 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.2409, allocations: 0 / 356.1 MB, free: 7.758 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2409, allocations: 0 / 356.1 MB, free: 7.758 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.493e-05/0.241, allocations: 97.33 kB / 356.2 MB, free: 7.633 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.241, allocations: 0 / 356.2 MB, free: 7.633 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-06/0.241, allocations: 4 kB / 356.2 MB, free: 7.629 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.241, allocations: 3.938 kB / 356.2 MB, free: 7.625 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.241, allocations: 4 kB / 356.2 MB, free: 7.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.241, allocations: 3.984 kB / 356.2 MB, free: 7.617 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.241, allocations: 7.938 kB / 356.2 MB, free: 7.609 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.091e-05/0.2411, allocations: 57.14 kB / 356.2 MB, free: 7.535 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.236e-06/0.2411, allocations: 7.891 kB / 356.2 MB, free: 7.527 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.2411, allocations: 192 / 356.2 MB, free: 7.527 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.166e-05/0.2411, allocations: 0 / 356.2 MB, free: 7.527 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.858e-05/0.2412, allocations: 7.969 kB / 356.2 MB, free: 7.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.2412, allocations: 8.031 kB / 356.3 MB, free: 7.512 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.893e-05/0.2412, allocations: 83.28 kB / 356.3 MB, free: 7.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2412, allocations: 0 / 356.3 MB, free: 7.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003857/0.2416, allocations: 135.5 kB / 356.5 MB, free: 7.297 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.0011/0.2427, allocations: 489.3 kB / 356.9 MB, free: 6.805 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 6.648e-05/0.2428, allocations: 11.94 kB / 357 MB, free: 6.793 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2428, allocations: 0 / 357 MB, free: 6.793 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.849e-06/0.2428, allocations: 8.062 kB / 357 MB, free: 6.785 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.2429, allocations: 0 / 357 MB, free: 6.785 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/0.2432, allocations: 118.7 kB / 357.1 MB, free: 6.641 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.02e-05/0.2432, allocations: 59.34 kB / 357.1 MB, free: 6.562 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.76e-05/0.2432, allocations: 11.92 kB / 357.2 MB, free: 6.551 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.049e-05/0.2433, allocations: 12.5 kB / 357.2 MB, free: 6.539 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2433, allocations: 0 / 357.2 MB, free: 6.539 MB / 318.1 MB Notification: Performance of Templates: time 0.006604/0.2499, allocations: 2.778 MB / 359.9 MB, free: 3.758 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 -s ida -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: 4.559313226956874]