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.001306/0.001306, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001384/0.001384, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.396/1.396, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.2202/0.2202, allocations: 46.92 MB / 361.6 MB, free: 4.27 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.001991/0.001991, allocations: 67.89 kB / 0.4974 GB, free: 7.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3377, allocations: 66.03 MB / 0.5618 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001655/0.3394, allocations: 492.9 kB / 0.5623 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002665/0.342, allocations: 1.331 MB / 0.5636 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.712e-05/0.342, allocations: 0 / 0.5636 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.3421, allocations: 3.938 kB / 0.5636 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.591e-06/0.3421, allocations: 0 / 0.5636 GB, free: 2.594 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.001608/0.3437, allocations: 0.5765 MB / 0.5642 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.968e-05/0.3437, allocations: 4 kB / 0.5642 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.55e-05/0.3438, allocations: 7.984 kB / 0.5642 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.198e-05/0.3438, allocations: 4 kB / 0.5642 GB, free: 2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.798e-05/0.3438, allocations: 0 / 0.5642 GB, free: 2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.731e-06/0.3438, allocations: 3.938 kB / 0.5642 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01764/0.3615, allocations: 2.557 MB / 0.5667 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.3615, allocations: 0 / 0.5667 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.691e-05/0.3615, allocations: 0 / 0.5667 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003749/0.3619, allocations: 167.6 kB / 0.5669 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3619, allocations: 0 / 0.5669 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3619, allocations: 0 / 0.5669 GB, free: 15.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.3619, allocations: 0 / 0.5669 GB, free: 15.81 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.0003901/0.3623, allocations: 303.9 kB / 0.5672 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3623, allocations: 8.031 kB / 0.5672 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.3623, allocations: 0.9375 kB / 0.5672 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.3624, allocations: 110.5 kB / 0.5673 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.3625, allocations: 4.375 kB / 0.5673 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.433e-06/0.3625, allocations: 384 / 0.5673 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.045e-05/0.3626, allocations: 33.81 kB / 0.5673 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3626, allocations: 0 / 0.5673 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.3626, allocations: 4 kB / 0.5673 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3626, allocations: 0 / 0.5673 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.733e-05/0.3626, allocations: 0 / 0.5673 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001328/0.3627, allocations: 116.8 kB / 0.5674 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.397e-05/0.3628, allocations: 30.48 kB / 0.5674 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.666e-05/0.3628, allocations: 4.859 kB / 0.5675 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.3628, allocations: 3.984 kB / 0.5675 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.709e-05/0.3629, allocations: 72.25 kB / 0.5675 GB, free: 15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.3629, allocations: 0 / 0.5675 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001659/0.363, allocations: 59.41 kB / 0.5676 GB, free: 14.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/0.3631, allocations: 81.23 kB / 0.5677 GB, free: 14.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.648e-05/0.3631, allocations: 89.86 kB / 0.5677 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.3632, allocations: 25.7 kB / 0.5678 GB, free: 14.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/0.3632, allocations: 84.08 kB / 0.5678 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.3632, allocations: 3.984 kB / 0.5679 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/0.3632, allocations: 21.66 kB / 0.5679 GB, free: 14.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3634, allocations: 310.8 kB / 0.5682 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.041e-05/0.3634, allocations: 4 kB / 0.5682 GB, free: 14.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.909e-06/0.3634, allocations: 8 kB / 0.5682 GB, free: 14.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.112e-05/0.3635, allocations: 56.27 kB / 0.5682 GB, free: 14.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3635, allocations: 0 / 0.5682 GB, free: 14.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.56e-05/0.3636, allocations: 67.39 kB / 0.5683 GB, free: 14.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.745e-05/0.3636, allocations: 37.64 kB / 0.5683 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3636, allocations: 0 / 0.5683 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3636, allocations: 0 / 0.5683 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.3636, allocations: 0 / 0.5683 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3636, allocations: 3.938 kB / 0.5683 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.77e-05/0.3636, allocations: 8.047 kB / 0.5683 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.3636, allocations: 0 / 0.5683 GB, free: 14.05 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 9.949e-05/0.3637, allocations: 143.4 kB / 0.5685 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.3638, allocations: 7.922 kB / 0.5685 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.074e-05/0.3638, allocations: 3 kB / 0.5685 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.3638, allocations: 0 / 0.5685 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3638, allocations: 0 / 0.5685 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3638, allocations: 4 kB / 0.5685 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.07e-05/0.3639, allocations: 112.8 kB / 0.5686 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.3639, allocations: 4 kB / 0.5686 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-07/0.3639, allocations: 0 / 0.5686 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.3639, allocations: 7.922 kB / 0.5686 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.3639, allocations: 4 kB / 0.5686 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3639, allocations: 3.938 kB / 0.5686 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3639, allocations: 0 / 0.5686 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.364, allocations: 90.84 kB / 0.5687 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-06/0.364, allocations: 7.922 kB / 0.5687 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.364, allocations: 4.031 kB / 0.5687 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-06/0.364, allocations: 3.938 kB / 0.5687 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.066e-05/0.364, allocations: 0 / 0.5687 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.364, allocations: 4 kB / 0.5687 GB, free: 13.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.564e-05/0.3641, allocations: 75.28 kB / 0.5688 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3641, allocations: 0 / 0.5688 GB, free: 13.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.3644, allocations: 67.86 kB / 0.5689 GB, free: 13.44 MB / 414.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.001027/0.3654, allocations: 404.4 kB / 0.5693 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.3655, allocations: 55.41 kB / 0.5693 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3655, allocations: 7.938 kB / 0.5693 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.709e-05/0.3655, allocations: 55.39 kB / 0.5694 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.3657, allocations: 7.281 kB / 0.5694 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002024/0.3659, allocations: 114.8 kB / 0.5695 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.3662, allocations: 0.6728 MB / 0.5701 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.625e-05/0.3662, allocations: 11.44 kB / 0.5701 GB, free: 12.11 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3662, allocations: 0 / 0.5701 GB, free: 12.11 MB / 414.1 MB Notification: Performance of Templates: time 0.004113/0.3703, allocations: 2.012 MB / 0.5721 GB, free: 10.09 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: 7.44459374086]