Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.000973/0.000973, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001305/0.002278, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007012/0.0007012, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009632/0.001664, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.101/1.101, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1006/1.201, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.261/0.261, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04053/0.3016, allocations: 13.1 MB / 291.5 MB, free: 7.34 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.0_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStrings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 292.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004e-05/1.167e-05, allocations: 3.719 kB / 292.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001062/0.001074, allocations: 0.5374 MB / 293.3 MB, free: 5.703 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.002571, allocations: 1.305 MB / 294.6 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.459e-05/0.002586, allocations: 4 kB / 294.7 MB, free: 4.387 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.847e-06/0.00259, allocations: 0 / 294.7 MB, free: 4.387 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.12e-07/0.00259, allocations: 0 / 294.7 MB, free: 4.387 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Utilities.mo:4:3-219: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.0009999/0.00359, allocations: 0.5097 MB / 295.2 MB, free: 3.875 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.104e-05/0.003651, allocations: 15.92 kB / 295.2 MB, free: 3.859 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.617e-05/0.003688, allocations: 7.984 kB / 295.2 MB, free: 3.852 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.204e-05/0.00372, allocations: 0 / 295.2 MB, free: 3.852 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.624e-05/0.003746, allocations: 4 kB / 295.2 MB, free: 3.848 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.613e-06/0.003752, allocations: 0 / 295.2 MB, free: 3.848 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008169/0.01192, allocations: 3.783 MB / 299 MB, free: 1.066 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.055e-06/0.01193, allocations: 0 / 299 MB, free: 1.066 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.056e-05/0.01194, allocations: 0 / 299 MB, free: 1.066 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.01217, allocations: 163.7 kB / 299.1 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.819e-06/0.01218, allocations: 0 / 299.1 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.01218, allocations: 0 / 299.1 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.01219, allocations: 4 kB / 299.1 MB, free: 0.9023 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.0002542/0.01244, allocations: 306.1 kB / 299.4 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.67e-05/0.01247, allocations: 12.03 kB / 299.4 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/0.0125, allocations: 0.9375 kB / 299.4 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.061e-05/0.01256, allocations: 105.7 kB / 299.6 MB, free: 444 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.01257, allocations: 4.359 kB / 299.6 MB, free: 440 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.01258, allocations: 8.375 kB / 299.6 MB, free: 432 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.089e-05/0.01264, allocations: 51.97 kB / 299.6 MB, free: 368 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.01264, allocations: 192 / 299.6 MB, free: 368 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-06/0.01265, allocations: 8.125 kB / 299.6 MB, free: 360 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.01265, allocations: 4 kB / 299.6 MB, free: 356 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.353e-05/0.01267, allocations: 25.7 kB / 299.7 MB, free: 324 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.75e-05/0.01273, allocations: 65 kB / 299.7 MB, free: 244 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.973e-05/0.01276, allocations: 52.19 kB / 299.8 MB, free: 176 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.61e-05/0.01278, allocations: 34.66 kB / 299.8 MB, free: 132 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-06/0.01278, allocations: 3.984 kB / 299.8 MB, free: 128 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.01282, allocations: 60.27 kB / 299.9 MB, free: 52 kB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 5.01e-07/0.01282, allocations: 0 / 299.9 MB, free: 52 kB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001025/0.01292, allocations: 114.8 kB / 300 MB, free: 15.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.127e-05/0.01299, allocations: 162.3 kB / 300.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.987e-05/0.01302, allocations: 89.86 kB / 300.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.01303, allocations: 25.7 kB / 300.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.989e-05/0.01305, allocations: 84.08 kB / 300.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.01306, allocations: 0 / 300.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/0.01308, allocations: 13.72 kB / 300.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.601e-05/0.01316, allocations: 318.8 kB / 300.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.715e-05/0.01318, allocations: 29.7 kB / 300.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.138e-05/0.01319, allocations: 25.7 kB / 300.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.674e-05/0.01323, allocations: 60.27 kB / 300.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.01323, allocations: 8 kB / 300.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.619e-05/0.01327, allocations: 89.09 kB / 300.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.0133, allocations: 29.7 kB / 300.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.0133, allocations: 0 / 300.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.01332, allocations: 0 / 300.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.058e-06/0.01332, allocations: 3.938 kB / 300.9 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.01332, allocations: 0 / 300.9 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.648e-05/0.01334, allocations: 11.94 kB / 300.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.01334, allocations: 0 / 300.9 MB, free: 14.86 MB / 298.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 5.64e-05/0.0134, allocations: 135.5 kB / 301 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-06/0.01341, allocations: 8.031 kB / 301 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.464e-06/0.01341, allocations: 3 kB / 301 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.01341, allocations: 0 / 301 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.01342, allocations: 0 / 301 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01342, allocations: 0 / 301 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.039e-05/0.01347, allocations: 73.83 kB / 301.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.01347, allocations: 0 / 301.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-07/0.01347, allocations: 0 / 301.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.816e-06/0.01347, allocations: 0 / 301.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-07/0.01347, allocations: 0 / 301.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-06/0.01348, allocations: 7.984 kB / 301.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.01348, allocations: 4 kB / 301.1 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.01348, allocations: 0 / 301.1 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.097e-05/0.01354, allocations: 116.4 kB / 301.2 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.01355, allocations: 4 kB / 301.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.408e-06/0.01356, allocations: 0 / 301.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.584e-06/0.01357, allocations: 0 / 301.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.01357, allocations: 4 kB / 301.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.599e-06/0.01357, allocations: 4.859 kB / 301.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01357, allocations: 0 / 301.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001653/0.01374, allocations: 79.73 kB / 301.3 MB, free: 14.36 MB / 298.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.0007581/0.0145, allocations: 0.5171 MB / 301.9 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.354e-05/0.01458, allocations: 115.7 kB / 302 MB, free: 13.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.01458, allocations: 4.094 kB / 302 MB, free: 13.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.618e-05/0.01462, allocations: 89.95 kB / 302.1 MB, free: 13.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.968e-05/0.01466, allocations: 7.938 kB / 302.1 MB, free: 13.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001301/0.01479, allocations: 112.6 kB / 302.2 MB, free: 13.58 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.407e-05/0.01481, allocations: 51.36 kB / 302.2 MB, free: 13.51 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.795e-06/0.01482, allocations: 0 / 302.2 MB, free: 13.51 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.01485, allocations: 55.38 kB / 302.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01485, allocations: 0 / 302.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of Templates: time 0.003913/0.01877, allocations: 2.72 MB / 305 MB, free: 10.74 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStrings.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStrings.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStrings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestStrings/TestStrings.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.995822826400399]