Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.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.001295/0.001295, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001873/0.003168, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001103/0.001103, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001497/0.0026, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.05/1.05, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.109/1.159, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2748/0.2748, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02479/0.2996, allocations: 12.53 MB / 289.3 MB, free: 8.68 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 290.6 MB, free: 7.684 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.301e-05, allocations: 3.438 kB / 290.6 MB, free: 7.68 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001224/0.001247, allocations: 0.5306 MB / 291.1 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.003199, allocations: 1.307 MB / 292.4 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.468e-05/0.003214, allocations: 3.938 kB / 292.4 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.058e-06/0.003218, allocations: 0 / 292.4 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.61e-07/0.003219, allocations: 1.031 kB / 292.4 MB, free: 6.309 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Utilities.mo:4:3-220:14:writable] Warning: Pure function 'ModelicaTest.Utilities.Strings' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.004382, allocations: 0.509 MB / 292.9 MB, free: 5.961 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.627e-05/0.004438, allocations: 8.188 kB / 292.9 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.691e-05/0.004475, allocations: 3.984 kB / 292.9 MB, free: 5.953 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.232e-05/0.004508, allocations: 1.531 kB / 292.9 MB, free: 5.953 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.67e-05/0.004534, allocations: 4 kB / 292.9 MB, free: 5.949 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.905e-06/0.004542, allocations: 0 / 292.9 MB, free: 5.949 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008869/0.01341, allocations: 3.783 MB / 296.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.01342, allocations: 0 / 296.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.738e-05/0.01344, allocations: 0 / 296.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003211/0.01376, allocations: 179.6 kB / 296.9 MB, free: 3.012 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-05/0.01378, allocations: 0 / 296.9 MB, free: 3.012 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.01378, allocations: 0 / 296.9 MB, free: 3.012 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.803e-05/0.0138, allocations: 0 / 296.9 MB, free: 3.012 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003711/0.01417, allocations: 314 kB / 297.2 MB, free: 2.676 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.01421, allocations: 8.031 kB / 297.2 MB, free: 2.668 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.01425, allocations: 4.938 kB / 297.2 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.683e-05/0.01432, allocations: 101.8 kB / 297.3 MB, free: 2.539 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.01433, allocations: 384 / 297.3 MB, free: 2.539 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.01434, allocations: 4.359 kB / 297.3 MB, free: 2.535 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.244e-05/0.01443, allocations: 59.97 kB / 297.4 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.01444, allocations: 4.125 kB / 297.4 MB, free: 2.461 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.01445, allocations: 4.125 kB / 297.4 MB, free: 2.457 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.01446, allocations: 0 / 297.4 MB, free: 2.457 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.018e-05/0.01448, allocations: 29.7 kB / 297.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.246e-05/0.01455, allocations: 57.05 kB / 297.5 MB, free: 2.352 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.164e-05/0.0146, allocations: 48.25 kB / 297.5 MB, free: 2.289 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.866e-05/0.01462, allocations: 34.66 kB / 297.6 MB, free: 2.246 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-06/0.01463, allocations: 0 / 297.6 MB, free: 2.246 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.017e-05/0.01467, allocations: 64.27 kB / 297.6 MB, free: 2.168 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.01467, allocations: 4 kB / 297.6 MB, free: 2.164 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001343/0.0148, allocations: 118.7 kB / 297.7 MB, free: 2.023 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.01484, allocations: 77.11 kB / 297.8 MB, free: 1.93 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.816e-05/0.01488, allocations: 89.86 kB / 297.9 MB, free: 1.832 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.01489, allocations: 29.7 kB / 297.9 MB, free: 1.797 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.92e-05/0.01491, allocations: 80.14 kB / 298 MB, free: 1.715 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.01493, allocations: 0 / 298 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.573e-05/0.01496, allocations: 13.72 kB / 298 MB, free: 1.695 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.72e-05/0.01504, allocations: 314.8 kB / 298.3 MB, free: 1.379 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.803e-05/0.01506, allocations: 25.7 kB / 298.4 MB, free: 1.348 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.536e-05/0.01508, allocations: 37.81 kB / 298.4 MB, free: 1.305 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.841e-05/0.01513, allocations: 64.2 kB / 298.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01513, allocations: 0 / 298.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.106e-05/0.01519, allocations: 89.09 kB / 298.5 MB, free: 1.121 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.415e-05/0.01523, allocations: 37.64 kB / 298.6 MB, free: 1.078 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.01524, allocations: 0 / 298.6 MB, free: 1.078 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.01525, allocations: 0 / 298.6 MB, free: 1.078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.56e-06/0.01525, allocations: 0 / 298.6 MB, free: 1.078 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.01526, allocations: 0 / 298.6 MB, free: 1.078 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.992e-05/0.01528, allocations: 3.938 kB / 298.6 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.01529, allocations: 4.094 kB / 298.6 MB, free: 1.07 MB / 282.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 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 6.666e-05/0.01535, allocations: 135.5 kB / 298.7 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-06/0.01536, allocations: 0 / 298.7 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.606e-05/0.01537, allocations: 10.98 kB / 298.7 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.01537, allocations: 0 / 298.7 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.01538, allocations: 0 / 298.7 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.01538, allocations: 0 / 298.7 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.28e-05/0.01543, allocations: 65.83 kB / 298.8 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.01543, allocations: 7.938 kB / 298.8 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.1e-07/0.01543, allocations: 0 / 298.8 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-06/0.01544, allocations: 8 kB / 298.8 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.71e-07/0.01544, allocations: 0 / 298.8 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-06/0.01544, allocations: 0 / 298.8 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.5e-07/0.01544, allocations: 0 / 298.8 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01545, allocations: 3.984 kB / 298.8 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.314e-05/0.01553, allocations: 116.5 kB / 298.9 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.01554, allocations: 0 / 298.9 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.532e-06/0.01555, allocations: 3.984 kB / 298.9 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.331e-05/0.01556, allocations: 4 kB / 298.9 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.01557, allocations: 4 kB / 298.9 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.454e-06/0.01557, allocations: 4.891 kB / 299 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01557, allocations: 4 kB / 299 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00018/0.01575, allocations: 63.81 kB / 299 MB, free: 0.582 MB / 282.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 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000914/0.01667, allocations: 0.5155 MB / 299.5 MB, free: 212 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.01678, allocations: 119.6 kB / 299.6 MB, free: 64 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.01678, allocations: 0 / 299.6 MB, free: 64 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.274e-05/0.01683, allocations: 85.97 kB / 299.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.021e-05/0.01689, allocations: 15.86 kB / 299.7 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001773/0.01706, allocations: 104.6 kB / 299.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.184e-05/0.0171, allocations: 51.36 kB / 299.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.296e-06/0.0171, allocations: 0 / 299.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.073e-05/0.01715, allocations: 63.36 kB / 300 MB, free: 15.67 MB / 298.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01715, allocations: 4.125 kB / 300 MB, free: 15.67 MB / 298.7 MB Notification: Performance of Templates: time 0.004237/0.02138, allocations: 2.558 MB / 302.5 MB, free: 13.12 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestStrings/TestStrings.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2079150369390845]