Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00166/0.00166, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001805/0.001805, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2163/0.2163, allocations: 34.26 MB / 294.8 MB, free: 14.54 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 442.6 MB, free: 5.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.293e-05, allocations: 2.281 kB / 442.6 MB, free: 5.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001383/0.001406, allocations: 497.1 kB / 443.1 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002619/0.004025, allocations: 1.308 MB / 444.4 MB, free: 3.551 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.295e-05/0.004038, allocations: 4 kB / 444.4 MB, free: 3.547 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.094e-05/0.004049, allocations: 0 / 444.4 MB, free: 3.547 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.23e-06/0.004055, allocations: 0 / 444.4 MB, free: 3.547 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:4:3-230: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.001554/0.005608, allocations: 0.6113 MB / 445 MB, free: 2.934 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.391e-05/0.005652, allocations: 4 kB / 445 MB, free: 2.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.07e-05/0.005683, allocations: 0 / 445 MB, free: 2.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.326e-05/0.005706, allocations: 4 kB / 445 MB, free: 2.926 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.771e-05/0.005724, allocations: 0 / 445 MB, free: 2.926 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.813e-06/0.005731, allocations: 4 kB / 445 MB, free: 2.922 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02539/0.03112, allocations: 3.396 MB / 448.4 MB, free: 284 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.03113, allocations: 0 / 448.4 MB, free: 284 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.715e-05/0.03116, allocations: 0 / 448.4 MB, free: 284 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005035/0.03166, allocations: 211.6 kB / 448.6 MB, free: 72 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.03167, allocations: 4 kB / 448.6 MB, free: 68 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.03167, allocations: 4 kB / 448.6 MB, free: 64 kB / 366.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.03167, allocations: 0 / 448.6 MB, free: 64 kB / 366.1 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.1863/0.2179, allocations: 298.7 kB / 448.9 MB, free: 19.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.218, allocations: 10.56 kB / 449 MB, free: 19.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.218, allocations: 0.9375 kB / 449 MB, free: 19.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.728e-05/0.2181, allocations: 103.1 kB / 449.1 MB, free: 19.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.2181, allocations: 1.688 kB / 449.1 MB, free: 19.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.2181, allocations: 384 / 449.1 MB, free: 19.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.802e-05/0.2182, allocations: 58.16 kB / 449.1 MB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2182, allocations: 3.359 kB / 449.1 MB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.2182, allocations: 4.344 kB / 449.1 MB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2182, allocations: 384 / 449.1 MB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.273e-05/0.2182, allocations: 41.23 kB / 449.2 MB, free: 19.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.796e-05/0.2183, allocations: 95.28 kB / 449.3 MB, free: 19.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.948e-05/0.2184, allocations: 51.28 kB / 449.3 MB, free: 19.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.079e-05/0.2184, allocations: 33.42 kB / 449.3 MB, free: 19.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.2184, allocations: 0 / 449.3 MB, free: 19.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.2184, allocations: 60.67 kB / 449.4 MB, free: 19.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.2184, allocations: 0 / 449.4 MB, free: 19.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001872/0.2186, allocations: 115.9 kB / 449.5 MB, free: 18.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.2187, allocations: 83.45 kB / 449.6 MB, free: 18.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.135e-05/0.2187, allocations: 90.61 kB / 449.7 MB, free: 18.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.2187, allocations: 25.7 kB / 449.7 MB, free: 18.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.069e-05/0.2187, allocations: 81.2 kB / 449.8 MB, free: 18.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.2187, allocations: 5.062 kB / 449.8 MB, free: 18.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.2187, allocations: 12.69 kB / 449.8 MB, free: 18.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.471e-05/0.2188, allocations: 316.6 kB / 450.1 MB, free: 18.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.2188, allocations: 30.66 kB / 450.1 MB, free: 18.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.207e-06/0.2188, allocations: 26.77 kB / 450.2 MB, free: 18.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.756e-05/0.2188, allocations: 62.91 kB / 450.2 MB, free: 18.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2188, allocations: 1.062 kB / 450.2 MB, free: 18.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.709e-05/0.2189, allocations: 91.78 kB / 450.3 MB, free: 18.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.2189, allocations: 37.27 kB / 450.4 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2189, allocations: 0 / 450.4 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.2189, allocations: 1.062 kB / 450.4 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.2189, allocations: 0 / 450.4 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2189, allocations: 4.5 kB / 450.4 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.603e-05/0.219, allocations: 5.031 kB / 450.4 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.219, allocations: 6.281 kB / 450.4 MB, free: 17.98 MB / 366.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 (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 4.729e-05/0.219, allocations: 136.3 kB / 450.5 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.136e-06/0.219, allocations: 1.094 kB / 450.5 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.063e-05/0.219, allocations: 4.797 kB / 450.5 MB, free: 17.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.219, allocations: 3.938 kB / 450.5 MB, free: 17.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.219, allocations: 0.7969 kB / 450.5 MB, free: 17.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.219, allocations: 6.5 kB / 450.5 MB, free: 17.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.939e-05/0.2191, allocations: 105.4 kB / 450.6 MB, free: 17.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2191, allocations: 0 / 450.6 MB, free: 17.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-07/0.2191, allocations: 1.312 kB / 450.6 MB, free: 17.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.2191, allocations: 0 / 450.6 MB, free: 17.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.2191, allocations: 1.875 kB / 450.6 MB, free: 17.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.2191, allocations: 0 / 450.6 MB, free: 17.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2191, allocations: 0 / 450.6 MB, free: 17.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.546e-05/0.2192, allocations: 124.4 kB / 450.7 MB, free: 17.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-06/0.2192, allocations: 1.719 kB / 450.7 MB, free: 17.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.2192, allocations: 6.734 kB / 450.8 MB, free: 17.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.778e-06/0.2192, allocations: 3.391 kB / 450.8 MB, free: 17.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.2192, allocations: 2.312 kB / 450.8 MB, free: 17.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.2192, allocations: 0.7031 kB / 450.8 MB, free: 17.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.041e-05/0.2192, allocations: 76.34 kB / 450.8 MB, free: 17.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2192, allocations: 0 / 450.8 MB, free: 17.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003325/0.2196, allocations: 79.22 kB / 450.9 MB, free: 17.5 MB / 366.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 (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.001066/0.2206, allocations: 435.8 kB / 451.3 MB, free: 17.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.86e-05/0.2207, allocations: 111.9 kB / 451.4 MB, free: 17.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.2207, allocations: 0 / 451.4 MB, free: 17.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.309e-05/0.2207, allocations: 85.33 kB / 451.5 MB, free: 17.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.2209, allocations: 10.81 kB / 451.5 MB, free: 17.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001967/0.2211, allocations: 108 kB / 451.6 MB, free: 17.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.036e-05/0.2211, allocations: 55.28 kB / 451.7 MB, free: 16.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.971e-06/0.2211, allocations: 0 / 451.7 MB, free: 16.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.343e-05/0.2211, allocations: 12.56 kB / 451.7 MB, free: 16.94 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2211, allocations: 3.719 kB / 451.7 MB, free: 16.94 MB / 366.1 MB Notification: Performance of Templates: time 0.00613/0.2272, allocations: 2.236 MB / 454 MB, free: 16.75 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.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.892349876463413]