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.001446/0.001446, allocations: 82.47 kB / 21.43 MB, free: 296 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.001816/0.001816, allocations: 164.2 kB / 24.7 MB, free: 3.547 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.476/1.476, allocations: 158.6 MB / 186.5 MB, free: 6.402 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: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 298.9 MB, free: 8.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.641e-05, allocations: 2.281 kB / 298.9 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002386/0.002412, allocations: 1.186 MB / 300.1 MB, free: 7.562 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00349/0.005902, allocations: 2.027 MB / 302.1 MB, free: 5.523 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.376e-05/0.005926, allocations: 0 / 302.1 MB, free: 5.523 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.66e-05/0.005943, allocations: 7.984 kB / 302.1 MB, free: 5.516 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.007305, allocations: 446.3 kB / 302.6 MB, free: 5.078 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.894e-05/0.007334, allocations: 7.938 kB / 302.6 MB, free: 5.07 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.341e-05/0.007378, allocations: 7.938 kB / 302.6 MB, free: 5.062 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.251e-05/0.00741, allocations: 0 / 302.6 MB, free: 5.062 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.264e-05/0.007443, allocations: 7.984 kB / 302.6 MB, free: 5.055 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.007649, allocations: 7.984 kB / 302.6 MB, free: 5.047 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.00766, allocations: 0 / 302.6 MB, free: 5.047 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000892/0.008552, allocations: 443.3 kB / 303 MB, free: 4.613 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/0.00857, allocations: 3.984 kB / 303 MB, free: 4.609 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.008602, allocations: 12 kB / 303 MB, free: 4.598 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.00964, allocations: 419 kB / 303.5 MB, free: 4.188 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.984e-06/0.009647, allocations: 3.984 kB / 303.5 MB, free: 4.184 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.009648, allocations: 0 / 303.5 MB, free: 4.184 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.009654, allocations: 0 / 303.5 MB, free: 4.184 MB / 286.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.0006547/0.01031, allocations: 341.4 kB / 303.8 MB, free: 3.82 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.01036, allocations: 15.98 kB / 303.8 MB, free: 3.805 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.688e-05/0.01044, allocations: 76.22 kB / 303.9 MB, free: 3.73 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.01066, allocations: 185.1 kB / 304.1 MB, free: 3.523 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.602e-05/0.01074, allocations: 150.9 kB / 304.2 MB, free: 3.375 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.36e-05/0.01081, allocations: 150.9 kB / 304.4 MB, free: 3.227 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.762e-05/0.0109, allocations: 113.5 kB / 304.5 MB, free: 3.109 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.548e-05/0.01094, allocations: 83.22 kB / 304.6 MB, free: 3.027 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.553e-05/0.01102, allocations: 154.5 kB / 304.7 MB, free: 2.875 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.039e-05/0.0111, allocations: 154.5 kB / 304.9 MB, free: 2.723 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.491e-05/0.01118, allocations: 154.6 kB / 305 MB, free: 2.57 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.01151, allocations: 397.6 kB / 305.4 MB, free: 2.152 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.01163, allocations: 169.1 kB / 305.6 MB, free: 1.977 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.694e-05/0.01169, allocations: 80.14 kB / 305.6 MB, free: 1.895 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.317e-05/0.01173, allocations: 79.22 kB / 305.7 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002064/0.01194, allocations: 51.41 kB / 305.8 MB, free: 1.754 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 2.044e-06/0.01194, allocations: 0 / 305.8 MB, free: 1.754 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001551/0.0121, allocations: 37.64 kB / 305.8 MB, free: 1.711 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.01215, allocations: 55.34 kB / 305.9 MB, free: 1.645 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.01226, allocations: 105.8 kB / 306 MB, free: 1.531 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.01227, allocations: 25.7 kB / 306 MB, free: 1.5 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.01232, allocations: 80.14 kB / 306.1 MB, free: 1.418 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.01234, allocations: 3.953 kB / 306.1 MB, free: 1.414 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.01238, allocations: 13.72 kB / 306.1 MB, free: 1.395 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.01252, allocations: 314.8 kB / 306.4 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.152e-05/0.01253, allocations: 8.109 kB / 306.4 MB, free: 1.07 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.22e-06/0.01254, allocations: 0 / 306.4 MB, free: 1.07 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.362e-05/0.01256, allocations: 8.859 kB / 306.4 MB, free: 1.059 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.01257, allocations: 0 / 306.4 MB, free: 1.059 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.255e-05/0.01263, allocations: 33.7 kB / 306.4 MB, free: 1.02 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.01265, allocations: 7.938 kB / 306.4 MB, free: 1.012 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.01265, allocations: 11.88 kB / 306.5 MB, free: 1 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.01267, allocations: 0 / 306.5 MB, free: 1 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.675e-05/0.0127, allocations: 0 / 306.5 MB, free: 1 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.0127, allocations: 96 / 306.5 MB, free: 1 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.75e-05/0.01272, allocations: 4 kB / 306.5 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.01273, allocations: 4 kB / 306.5 MB, free: 0.9922 MB / 286.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 9.077e-05/0.01282, allocations: 113.8 kB / 306.6 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.01283, allocations: 0 / 306.6 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/0.01286, allocations: 15.05 kB / 306.6 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.01286, allocations: 0 / 306.6 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.01287, allocations: 0 / 306.6 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.01287, allocations: 3.938 kB / 306.6 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.01298, allocations: 101.3 kB / 306.7 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.01298, allocations: 0 / 306.7 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.498e-06/0.01299, allocations: 4 kB / 306.7 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01299, allocations: 0 / 306.7 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.01299, allocations: 0 / 306.7 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.013, allocations: 3.938 kB / 306.7 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.013, allocations: 0 / 306.7 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.642e-05/0.01308, allocations: 65.06 kB / 306.8 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.645e-06/0.01309, allocations: 4 kB / 306.8 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.0131, allocations: 0 / 306.8 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.501e-05/0.01312, allocations: 3.938 kB / 306.8 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.133e-05/0.01313, allocations: 0 / 306.8 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-06/0.01313, allocations: 0 / 306.8 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.072e-05/0.01318, allocations: 91.3 kB / 306.9 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01318, allocations: 0 / 306.9 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005233/0.01371, allocations: 127.5 kB / 307 MB, free: 424 kB / 286.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.001266/0.01497, allocations: 0.51 MB / 307.5 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.269e-05/0.01505, allocations: 8 kB / 307.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01505, allocations: 0 / 307.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.416e-06/0.01506, allocations: 3.938 kB / 307.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.0152, allocations: 8.125 kB / 307.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003027/0.0155, allocations: 100.9 kB / 307.6 MB, free: 15.76 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.659e-05/0.01556, allocations: 63.2 kB / 307.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.984e-05/0.01559, allocations: 15.92 kB / 307.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.01562, allocations: 12.5 kB / 307.7 MB, free: 15.65 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.01562, allocations: 0 / 307.7 MB, free: 15.65 MB / 302.1 MB Notification: Performance of Templates: time 0.00754/0.02316, allocations: 2.82 MB / 310.5 MB, free: 12.82 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","/var/lib/jenkins/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.556797057390213]