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.001703/0.001703, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 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.001814/0.001814, allocations: 205.2 kB / 24.49 MB, free: 3.965 MB / 14.72 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.484/1.484, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.2343/0.2343, allocations: 46.96 MB / 361.6 MB, free: 4.039 MB / 286.1 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 0.002236/0.002236, allocations: 67.89 kB / 0.4973 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2975, allocations: 66.04 MB / 0.5618 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001619/0.2992, allocations: 489 kB / 0.5623 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002561/0.3017, allocations: 1.257 MB / 0.5635 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.801e-05/0.3017, allocations: 0 / 0.5635 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.223e-05/0.3017, allocations: 0 / 0.5635 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.881e-06/0.3018, allocations: 0 / 0.5635 GB, free: 2.426 MB / 398.1 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.001455/0.3032, allocations: 0.5842 MB / 0.5641 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.503e-05/0.3033, allocations: 4 kB / 0.5641 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.269e-05/0.3033, allocations: 4 kB / 0.5641 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.757e-05/0.3033, allocations: 3.984 kB / 0.5641 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.945e-05/0.3033, allocations: 0 / 0.5641 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.111e-06/0.3033, allocations: 3.938 kB / 0.5641 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01738/0.3207, allocations: 2.556 MB / 0.5666 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/0.3207, allocations: 3.984 kB / 0.5666 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.93e-05/0.3208, allocations: 4 kB / 0.5666 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004655/0.3212, allocations: 159.7 kB / 0.5667 GB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3212, allocations: 0 / 0.5667 GB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.3212, allocations: 0 / 0.5667 GB, free: 15.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.3212, allocations: 7.938 kB / 0.5667 GB, free: 15.63 MB / 414.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.0003978/0.3216, allocations: 299.8 kB / 0.567 GB, free: 15.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3217, allocations: 8.031 kB / 0.567 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.3217, allocations: 4.938 kB / 0.567 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.145e-05/0.3218, allocations: 106.5 kB / 0.5671 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.3218, allocations: 384 / 0.5671 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-06/0.3218, allocations: 384 / 0.5671 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.3219, allocations: 67.47 kB / 0.5672 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.3219, allocations: 0 / 0.5672 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.3219, allocations: 0 / 0.5672 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.3219, allocations: 0 / 0.5672 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.547e-05/0.322, allocations: 33.69 kB / 0.5672 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001145/0.3221, allocations: 97.31 kB / 0.5673 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.907e-05/0.3221, allocations: 48.31 kB / 0.5674 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.656e-05/0.3222, allocations: 30.56 kB / 0.5674 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.3222, allocations: 0 / 0.5674 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.161e-05/0.3222, allocations: 64.27 kB / 0.5675 GB, free: 14.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.3222, allocations: 4 kB / 0.5675 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002069/0.3224, allocations: 122.7 kB / 0.5676 GB, free: 14.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.3225, allocations: 81.05 kB / 0.5677 GB, free: 14.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.776e-05/0.3225, allocations: 89.86 kB / 0.5678 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.3226, allocations: 29.64 kB / 0.5678 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.3226, allocations: 80.14 kB / 0.5679 GB, free: 14.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.3226, allocations: 4 kB / 0.5679 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.3227, allocations: 13.7 kB / 0.5679 GB, free: 14.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3228, allocations: 310.8 kB / 0.5682 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.336e-05/0.3229, allocations: 37.7 kB / 0.5682 GB, free: 13.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.988e-05/0.3229, allocations: 29.83 kB / 0.5682 GB, free: 13.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.913e-05/0.3229, allocations: 64.2 kB / 0.5683 GB, free: 13.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3229, allocations: 0 / 0.5683 GB, free: 13.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.461e-05/0.323, allocations: 89.09 kB / 0.5684 GB, free: 13.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.906e-05/0.3231, allocations: 33.7 kB / 0.5684 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3231, allocations: 0 / 0.5684 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.3231, allocations: 7.938 kB / 0.5684 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.3231, allocations: 0 / 0.5684 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3231, allocations: 0 / 0.5684 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.984e-05/0.3231, allocations: 4.047 kB / 0.5684 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.3231, allocations: 4 kB / 0.5684 GB, free: 13.62 MB / 414.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 0.0001043/0.3232, allocations: 143.5 kB / 0.5686 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-06/0.3233, allocations: 0 / 0.5686 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.297e-05/0.3233, allocations: 6.938 kB / 0.5686 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3233, allocations: 0 / 0.5686 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3233, allocations: 0 / 0.5686 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-06/0.3233, allocations: 7.938 kB / 0.5686 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.3233, allocations: 0 / 0.5686 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.035e-06/0.3233, allocations: 0 / 0.5686 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.878e-06/0.3233, allocations: 0 / 0.5686 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001669/0.3235, allocations: 227.8 kB / 0.5688 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001853/0.3237, allocations: 266.2 kB / 0.5691 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.116e-05/0.3237, allocations: 29.64 kB / 0.5691 GB, free: 12.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.417e-05/0.3237, allocations: 75.28 kB / 0.5692 GB, free: 12.8 MB / 414.1 MB Notification: Performance of Backend: time 5.31e-07/0.3237, allocations: 0 / 0.5692 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001423/0.3252, allocations: 497 kB / 0.5696 GB, free: 12.38 MB / 414.1 MB Notification: Performance of SimCode: time 0.0004834/0.3256, allocations: 0.5795 MB / 0.5702 GB, free: 11.74 MB / 414.1 MB Notification: Performance of Templates: time 0.005509/0.3311, allocations: 2.155 MB / 0.5723 GB, free: 9.598 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestStrings/TestStrings.csv","/var/lib/jenkins1/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: 5.043752419995144]