Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001588/0.001588, allocations: 110.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001913/0.001913, allocations: 214.4 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 230.2 MB / 256.8 MB, free: 8.625 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2322/0.2322, allocations: 46.89 MB / 359.9 MB, free: 5.008 MB / 286.1 MB [Timeout remaining time 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings") [Timeout 660] Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00232/0.00232, allocations: 75.88 kB / 0.4949 GB, free: 8.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3608, allocations: 65.97 MB / 0.5594 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001962/0.3628, allocations: 491.2 kB / 0.5598 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002694/0.3655, allocations: 1.311 MB / 0.5611 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.296e-05/0.3655, allocations: 0 / 0.5611 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.3655, allocations: 0 / 0.5611 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.672e-06/0.3655, allocations: 4 kB / 0.5611 GB, free: 3.414 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.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.00173/0.3672, allocations: 0.5804 MB / 0.5617 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.16e-05/0.3673, allocations: 0 / 0.5617 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.3673, allocations: 8 kB / 0.5617 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.582e-05/0.3673, allocations: 0 / 0.5617 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.339e-05/0.3674, allocations: 3.938 kB / 0.5617 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.8e-06/0.3674, allocations: 0 / 0.5617 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01689/0.3843, allocations: 2.525 MB / 0.5642 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.3843, allocations: 4 kB / 0.5642 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.3843, allocations: 4 kB / 0.5642 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004153/0.3847, allocations: 163.6 kB / 0.5643 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.3847, allocations: 4 kB / 0.5643 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3847, allocations: 0 / 0.5643 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.3847, allocations: 0 / 0.5643 GB, free: 0.6484 MB / 398.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.0004558/0.3852, allocations: 377 kB / 0.5647 GB, free: 232 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3852, allocations: 8.031 kB / 0.5647 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.3853, allocations: 4.875 kB / 0.5647 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.3854, allocations: 160.4 kB / 0.5649 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.3854, allocations: 4.375 kB / 0.5649 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.3854, allocations: 4.375 kB / 0.5649 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.3855, allocations: 41.75 kB / 0.5649 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3855, allocations: 0 / 0.5649 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.3855, allocations: 0 / 0.5649 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.3856, allocations: 4 kB / 0.5649 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.004e-05/0.3856, allocations: 7.938 kB / 0.5649 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.3857, allocations: 141.7 kB / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.345e-05/0.3858, allocations: 26.55 kB / 0.5651 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.769e-05/0.3858, allocations: 8.844 kB / 0.5651 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-06/0.3858, allocations: 0 / 0.5651 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.429e-05/0.3859, allocations: 64.2 kB / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.3859, allocations: 0 / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001849/0.3861, allocations: 59.47 kB / 0.5652 GB, free: 15.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.3861, allocations: 81.05 kB / 0.5653 GB, free: 15.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.953e-05/0.3862, allocations: 102 kB / 0.5654 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.3862, allocations: 25.7 kB / 0.5654 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.303e-05/0.3862, allocations: 80.14 kB / 0.5655 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.3862, allocations: 0 / 0.5655 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.3863, allocations: 13.72 kB / 0.5655 GB, free: 15.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3864, allocations: 314.8 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/0.3864, allocations: 0 / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-06/0.3864, allocations: 0 / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.912e-05/0.3865, allocations: 64.33 kB / 0.5659 GB, free: 14.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3865, allocations: 0 / 0.5659 GB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.882e-05/0.3866, allocations: 67.39 kB / 0.5659 GB, free: 14.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.267e-05/0.3866, allocations: 33.64 kB / 0.5659 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.3866, allocations: 0 / 0.5659 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.3866, allocations: 3.938 kB / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.358e-06/0.3866, allocations: 4 kB / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3866, allocations: 0 / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.919e-05/0.3867, allocations: 7.938 kB / 0.566 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.3867, allocations: 4.031 kB / 0.566 GB, free: 14.7 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.0001051/0.3868, allocations: 147.5 kB / 0.5661 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.448e-06/0.3868, allocations: 3.938 kB / 0.5661 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.957e-06/0.3868, allocations: 3.125 kB / 0.5661 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.3868, allocations: 0 / 0.5661 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3868, allocations: 0 / 0.5661 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.3868, allocations: 0 / 0.5661 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.3869, allocations: 145.7 kB / 0.5663 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3869, allocations: 3.984 kB / 0.5663 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.3869, allocations: 4 kB / 0.5663 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3869, allocations: 7.875 kB / 0.5663 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.3869, allocations: 4 kB / 0.5663 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.3869, allocations: 3.938 kB / 0.5663 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.3869, allocations: 0 / 0.5663 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.3871, allocations: 94.77 kB / 0.5664 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.3871, allocations: 81.05 kB / 0.5664 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.3871, allocations: 4 kB / 0.5664 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.716e-06/0.3871, allocations: 4.031 kB / 0.5665 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.085e-05/0.3871, allocations: 0 / 0.5665 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.3871, allocations: 4 kB / 0.5665 GB, free: 14.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.917e-05/0.3872, allocations: 75.28 kB / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3872, allocations: 0 / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003251/0.3875, allocations: 71.86 kB / 0.5666 GB, free: 13.95 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.00107/0.3886, allocations: 392.8 kB / 0.567 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001153/0.3887, allocations: 55.41 kB / 0.567 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.3887, allocations: 4 kB / 0.567 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.954e-05/0.3887, allocations: 55.39 kB / 0.5671 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.3889, allocations: 4 kB / 0.5671 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002381/0.3891, allocations: 118.8 kB / 0.5672 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.3894, allocations: 0.669 MB / 0.5679 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.003e-05/0.3894, allocations: 11.44 kB / 0.5679 GB, free: 12.62 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3894, allocations: 0 / 0.5679 GB, free: 12.62 MB / 414.1 MB Notification: Performance of Templates: time 0.00421/0.3936, allocations: 2.017 MB / 0.5698 GB, free: 10.6 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.Utilities.TestStrings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches