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.0007848/0.0007848, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004058/0.004058, allocations: 160.9 kB / 24.7 MB, free: 8.898 MB / 18.57 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 0.872/0.872, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.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.2644/0.2644, allocations: 34.25 MB / 295.7 MB, free: 0.7031 MB / 266.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.302e-06/1.302e-06, allocations: 0 / 443.4 MB, free: 1.223 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.017e-05, allocations: 2.281 kB / 443.4 MB, free: 1.219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.0009079/0.000928, allocations: 492.9 kB / 443.9 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1575/0.1584, allocations: 1.256 MB / 445.1 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.126e-05/0.1584, allocations: 0 / 445.1 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.113e-05/0.1585, allocations: 0 / 445.1 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.004e-06/0.1585, allocations: 0 / 445.1 MB, free: 43.65 MB / 410.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.001097/0.1596, allocations: 0.5871 MB / 445.7 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.857e-05/0.1596, allocations: 5.891 kB / 445.7 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.422e-05/0.1596, allocations: 0 / 445.7 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.61e-05/0.1597, allocations: 3.938 kB / 445.7 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.905e-05/0.1597, allocations: 0 / 445.7 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.211e-06/0.1597, allocations: 1.5 kB / 445.7 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005556/0.1652, allocations: 2.541 MB / 448.3 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.606e-06/0.1653, allocations: 0 / 448.3 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.804e-05/0.1653, allocations: 6.125 kB / 448.3 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.1655, allocations: 204.2 kB / 448.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1655, allocations: 0 / 448.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1655, allocations: 0 / 448.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1655, allocations: 2.875 kB / 448.5 MB, free: 43.05 MB / 410.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.0002355/0.1658, allocations: 306.3 kB / 448.8 MB, free: 42.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.1658, allocations: 15.31 kB / 448.8 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.1658, allocations: 4.875 kB / 448.8 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.84e-05/0.1659, allocations: 105.8 kB / 448.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.1659, allocations: 6.719 kB / 448.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-06/0.1659, allocations: 384 / 448.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.075e-05/0.166, allocations: 54.81 kB / 449 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.166, allocations: 192 / 449 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.166, allocations: 4.359 kB / 449 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.166, allocations: 7.266 kB / 449 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.657e-05/0.166, allocations: 32.52 kB / 449 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.393e-05/0.1661, allocations: 100.2 kB / 449.1 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.059e-05/0.1661, allocations: 47.19 kB / 449.2 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.232e-05/0.1661, allocations: 34.56 kB / 449.2 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.262e-06/0.1661, allocations: 0 / 449.2 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.1661, allocations: 66.59 kB / 449.3 MB, free: 42.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 4.81e-07/0.1661, allocations: 0 / 449.3 MB, free: 42.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001369/0.1663, allocations: 114.6 kB / 449.4 MB, free: 42.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.1663, allocations: 84.98 kB / 449.4 MB, free: 41.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.446e-05/0.1663, allocations: 89.86 kB / 449.5 MB, free: 41.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.539e-06/0.1663, allocations: 28.52 kB / 449.6 MB, free: 41.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.14e-06/0.1663, allocations: 88.06 kB / 449.6 MB, free: 41.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.1663, allocations: 5.5 kB / 449.7 MB, free: 41.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.812e-05/0.1663, allocations: 16.53 kB / 449.7 MB, free: 41.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.363e-05/0.1664, allocations: 310.8 kB / 450 MB, free: 41.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.007e-05/0.1664, allocations: 28.39 kB / 450 MB, free: 41.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.081e-06/0.1664, allocations: 28.75 kB / 450 MB, free: 41.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.249e-05/0.1664, allocations: 65.64 kB / 450.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1664, allocations: 0 / 450.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.007e-05/0.1664, allocations: 85.56 kB / 450.2 MB, free: 41.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.1665, allocations: 31.55 kB / 450.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1665, allocations: 0 / 450.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1665, allocations: 10.81 kB / 450.2 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.1665, allocations: 0 / 450.2 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.1665, allocations: 3.938 kB / 450.2 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.074e-05/0.1665, allocations: 0 / 450.2 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.1665, allocations: 0 / 450.2 MB, free: 41.15 MB / 410.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 3.093e-05/0.1665, allocations: 137.5 kB / 450.4 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-06/0.1665, allocations: 10.88 kB / 450.4 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.185e-06/0.1665, allocations: 3 kB / 450.4 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.1665, allocations: 0 / 450.4 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1665, allocations: 0 / 450.4 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1665, allocations: 7.938 kB / 450.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 2.589e-05/0.1666, allocations: 99.33 kB / 450.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.2e-07/0.1666, allocations: 0 / 450.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.5e-07/0.1666, allocations: 0 / 450.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.92e-07/0.1666, allocations: 0 / 450.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.1666, allocations: 2.938 kB / 450.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.1666, allocations: 0 / 450.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1666, allocations: 0 / 450.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.128e-05/0.1666, allocations: 123.3 kB / 450.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-06/0.1666, allocations: 0 / 450.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.178e-06/0.1666, allocations: 2.906 kB / 450.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.058e-06/0.1666, allocations: 4.031 kB / 450.6 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.688e-06/0.1666, allocations: 3.047 kB / 450.6 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.1667, allocations: 6.875 kB / 450.6 MB, free: 40.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.156e-06/0.1667, allocations: 79.22 kB / 450.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1667, allocations: 0 / 450.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001647/0.1668, allocations: 69.36 kB / 450.8 MB, free: 40.63 MB / 410.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.0004777/0.1673, allocations: 431.1 kB / 451.2 MB, free: 40.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.284e-05/0.1674, allocations: 111.7 kB / 451.3 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.1674, allocations: 0 / 451.3 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.251e-05/0.1674, allocations: 89.94 kB / 451.4 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.391e-05/0.1675, allocations: 0 / 451.4 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001304/0.1676, allocations: 131.8 kB / 451.5 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.036e-05/0.1676, allocations: 57.3 kB / 451.6 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.014e-05/0.1676, allocations: 15.3 kB / 451.6 MB, free: 40 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.1676, allocations: 4.125 kB / 451.6 MB, free: 39.99 MB / 410.7 MB Notification: Performance of Templates: time 0.00211/0.1697, allocations: 2.047 MB / 453.6 MB, free: 39.8 MB / 410.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStrings.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.800254205241799]