Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008063/0.0008063, allocations: 101.6 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009116/0.0009117, allocations: 176.2 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 223.3 MB / 243 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2139/0.2139, allocations: 44.24 MB / 338.3 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003071/0.0003071, allocations: 13.06 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1064, allocations: 61.91 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.0005809/0.107, allocations: 209.3 kB / 473.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002378/0.1094, allocations: 1.351 MB / 474.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.024e-05/0.1094, allocations: 0 / 474.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.151e-05/0.1095, allocations: 0 / 474.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.42e-06/0.1095, allocations: 4 kB / 474.5 MB, free: 11.76 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Utilities.mo:4:3-220: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.001302/0.1108, allocations: 454.9 kB / 474.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.666e-05/0.1108, allocations: 4 kB / 474.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.237e-05/0.1109, allocations: 3.938 kB / 474.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.43e-05/0.1109, allocations: 0 / 474.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.14e-05/0.1109, allocations: 3.984 kB / 474.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.611e-06/0.1109, allocations: 0 / 474.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02834/0.1393, allocations: 2.34 MB / 477.3 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.09e-05/0.1393, allocations: 7.938 kB / 477.3 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.1393, allocations: 33.69 kB / 477.3 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.1396, allocations: 107.8 kB / 477.4 MB, free: 9.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.1396, allocations: 4 kB / 477.4 MB, free: 9.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1396, allocations: 0 / 477.4 MB, free: 9.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1396, allocations: 0 / 477.4 MB, free: 9.23 MB / 350.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.000329/0.14, allocations: 381.2 kB / 477.8 MB, free: 8.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.14, allocations: 8.031 kB / 477.8 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.14, allocations: 0.9375 kB / 477.8 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.415e-05/0.1401, allocations: 168.4 kB / 477.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1401, allocations: 384 / 477.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.1402, allocations: 4.375 kB / 478 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.601e-05/0.1402, allocations: 29.83 kB / 478 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.1403, allocations: 0 / 478 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.1403, allocations: 0 / 478 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1403, allocations: 4 kB / 478 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.96e-05/0.1403, allocations: 3.938 kB / 478 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001214/0.1404, allocations: 149.7 kB / 478.1 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.791e-05/0.1405, allocations: 22.61 kB / 478.2 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.317e-05/0.1405, allocations: 4.859 kB / 478.2 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/0.1405, allocations: 7.922 kB / 478.2 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.1406, allocations: 60.2 kB / 478.2 MB, free: 8.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1406, allocations: 0 / 478.2 MB, free: 8.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.000156/0.1407, allocations: 71.39 kB / 478.3 MB, free: 8.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.1408, allocations: 81.23 kB / 478.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.98e-05/0.1408, allocations: 93.86 kB / 478.5 MB, free: 7.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.1408, allocations: 25.7 kB / 478.5 MB, free: 7.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.274e-05/0.1409, allocations: 80.14 kB / 478.6 MB, free: 7.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.1409, allocations: 0 / 478.6 MB, free: 7.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.096e-05/0.1409, allocations: 9.719 kB / 478.6 MB, free: 7.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.141, allocations: 314.8 kB / 478.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.044e-05/0.141, allocations: 7.938 kB / 478.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.14e-06/0.1411, allocations: 0 / 478.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.683e-05/0.1411, allocations: 68.31 kB / 479 MB, free: 7.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.1411, allocations: 0 / 479 MB, free: 7.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.731e-05/0.1412, allocations: 59.34 kB / 479 MB, free: 7.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.1412, allocations: 40.92 kB / 479.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1412, allocations: 0 / 479.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.1413, allocations: 0 / 479.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.414e-06/0.1413, allocations: 4 kB / 479.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1413, allocations: 0 / 479.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.763e-05/0.1413, allocations: 4 kB / 479.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-06/0.1413, allocations: 8.031 kB / 479.1 MB, free: 7.285 MB / 350.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 7.22e-05/0.1414, allocations: 135.5 kB / 479.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.1414, allocations: 3.938 kB / 479.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.202e-05/0.1414, allocations: 11.08 kB / 479.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.1414, allocations: 0 / 479.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.1414, allocations: 0 / 479.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.1414, allocations: 0 / 479.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.3e-05/0.1415, allocations: 145.7 kB / 479.4 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1415, allocations: 0 / 479.4 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.1415, allocations: 0 / 479.4 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.1415, allocations: 11.94 kB / 479.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.1416, allocations: 0 / 479.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1416, allocations: 0 / 479.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.1416, allocations: 0 / 479.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.368e-05/0.1417, allocations: 94.8 kB / 479.5 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.007e-05/0.1417, allocations: 81.05 kB / 479.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.1417, allocations: 0 / 479.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.457e-06/0.1417, allocations: 4.031 kB / 479.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.1418, allocations: 4 kB / 479.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.1418, allocations: 4 kB / 479.6 MB, free: 6.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.482e-05/0.1418, allocations: 83.22 kB / 479.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1418, allocations: 0 / 479.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002931/0.1421, allocations: 67.92 kB / 479.7 MB, free: 6.543 MB / 350.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.0007489/0.1429, allocations: 393.4 kB / 480.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.905e-05/0.1429, allocations: 67.33 kB / 480.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.143, allocations: 0 / 480.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.079e-05/0.143, allocations: 55.41 kB / 480.2 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001198/0.1431, allocations: 4 kB / 480.2 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000166/0.1433, allocations: 112.4 kB / 480.3 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.1435, allocations: 0.677 MB / 481 MB, free: 5.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.555e-05/0.1435, allocations: 11.44 kB / 481 MB, free: 5.219 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1435, allocations: 0 / 481 MB, free: 5.219 MB / 350.1 MB Notification: Performance of Templates: time 0.003881/0.1474, allocations: 2.02 MB / 483 MB, free: 3.199 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestStrings/TestStrings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches