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.0018/0.0018, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002214/0.002214, allocations: 212.3 kB / 23.72 MB, free: 4.531 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.583/1.583, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2342/0.2342, allocations: 46.95 MB / 360.9 MB, free: 4.031 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.002109/0.002109, allocations: 63.91 kB / 0.4966 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3176, allocations: 66.04 MB / 0.5611 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001695/0.3193, allocations: 487.9 kB / 0.5615 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002863/0.3222, allocations: 1.261 MB / 0.5628 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.376e-05/0.3222, allocations: 0 / 0.5628 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.344e-05/0.3222, allocations: 3.938 kB / 0.5628 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.935e-06/0.3222, allocations: 4 kB / 0.5628 GB, free: 2.445 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.002028/0.3243, allocations: 0.5765 MB / 0.5633 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.484e-05/0.3243, allocations: 3.984 kB / 0.5633 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.3244, allocations: 8 kB / 0.5633 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.65e-05/0.3244, allocations: 0 / 0.5633 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.167e-05/0.3244, allocations: 0 / 0.5633 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.689e-06/0.3244, allocations: 3.984 kB / 0.5633 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01751/0.3419, allocations: 2.549 MB / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.3419, allocations: 0 / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.379e-05/0.3419, allocations: 0 / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003974/0.3423, allocations: 167.6 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3423, allocations: 0 / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3423, allocations: 0 / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.3424, allocations: 7.938 kB / 0.566 GB, free: 15.66 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.0004391/0.3428, allocations: 299.9 kB / 0.5663 GB, free: 15.33 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.3428, allocations: 8.031 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.3429, allocations: 8.938 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.633e-05/0.343, allocations: 110.5 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.343, allocations: 384 / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.343, allocations: 384 / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.3431, allocations: 63.52 kB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3431, allocations: 0 / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.3431, allocations: 0 / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3431, allocations: 0 / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.596e-05/0.3432, allocations: 29.7 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001319/0.3433, allocations: 97.33 kB / 0.5666 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.265e-05/0.3434, allocations: 48.25 kB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.497e-05/0.3434, allocations: 38.55 kB / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.659e-06/0.3434, allocations: 0 / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.317e-05/0.3435, allocations: 60.33 kB / 0.5667 GB, free: 14.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.3435, allocations: 0 / 0.5667 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002272/0.3437, allocations: 122.7 kB / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.256e-05/0.3438, allocations: 81.05 kB / 0.5669 GB, free: 14.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.433e-05/0.3438, allocations: 89.86 kB / 0.567 GB, free: 14.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.3439, allocations: 25.7 kB / 0.567 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.3439, allocations: 84.14 kB / 0.5671 GB, free: 14.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.3439, allocations: 3.938 kB / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.344, allocations: 17.84 kB / 0.5671 GB, free: 14.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3441, allocations: 314.8 kB / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.573e-05/0.3442, allocations: 25.7 kB / 0.5675 GB, free: 13.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-05/0.3442, allocations: 25.7 kB / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.042e-05/0.3442, allocations: 64.25 kB / 0.5675 GB, free: 13.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3442, allocations: 0 / 0.5675 GB, free: 13.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.124e-05/0.3443, allocations: 89.11 kB / 0.5676 GB, free: 13.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.3444, allocations: 29.7 kB / 0.5677 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3444, allocations: 11.92 kB / 0.5677 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3444, allocations: 4.094 kB / 0.5677 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.492e-06/0.3444, allocations: 0 / 0.5677 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3444, allocations: 3.938 kB / 0.5677 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.865e-05/0.3444, allocations: 3.953 kB / 0.5677 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-06/0.3444, allocations: 0 / 0.5677 GB, free: 13.66 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.0001167/0.3445, allocations: 143.5 kB / 0.5678 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.654e-06/0.3446, allocations: 3.938 kB / 0.5678 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.383e-05/0.3446, allocations: 6.938 kB / 0.5678 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3446, allocations: 0 / 0.5678 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.3446, allocations: 4 kB / 0.5678 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3446, allocations: 4 kB / 0.5678 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.37e-05/0.3447, allocations: 101.3 kB / 0.5679 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3447, allocations: 0 / 0.5679 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.3447, allocations: 0 / 0.5679 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.3447, allocations: 0 / 0.5679 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.3447, allocations: 4 kB / 0.5679 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3447, allocations: 3.938 kB / 0.5679 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3447, allocations: 4 kB / 0.5679 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.3448, allocations: 120.5 kB / 0.5681 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.488e-06/0.3448, allocations: 0 / 0.5681 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.3448, allocations: 0 / 0.5681 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.233e-05/0.3449, allocations: 11.97 kB / 0.5681 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.198e-05/0.3449, allocations: 7.875 kB / 0.5681 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.3449, allocations: 0 / 0.5681 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.568e-05/0.3449, allocations: 75.28 kB / 0.5681 GB, free: 13.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3449, allocations: 0 / 0.5681 GB, free: 13.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00031/0.3452, allocations: 71.86 kB / 0.5682 GB, free: 13.03 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.001139/0.3464, allocations: 418.4 kB / 0.5686 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001576/0.3465, allocations: 114.8 kB / 0.5687 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3465, allocations: 0 / 0.5687 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.632e-05/0.3466, allocations: 85.11 kB / 0.5688 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.3467, allocations: 0 / 0.5688 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002298/0.347, allocations: 110.7 kB / 0.5689 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.874e-05/0.347, allocations: 55.36 kB / 0.569 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.34e-06/0.347, allocations: 3.938 kB / 0.569 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.654e-05/0.347, allocations: 15.5 kB / 0.569 GB, free: 12.23 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.347, allocations: 0 / 0.569 GB, free: 12.23 MB / 414.1 MB Notification: Performance of Templates: time 0.005459/0.3525, allocations: 2.148 MB / 0.5711 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/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: 5.321151616051793]