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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.008168/0.008168, allocations: 108.3 kB / 21.97 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001785/0.001785, allocations: 220.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.554/1.554, allocations: 230.5 MB / 258.9 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2519/0.2519, allocations: 46.94 MB / 362.3 MB, free: 4.293 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-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=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.002335/0.002335, allocations: 83.86 kB / 0.4982 GB, free: 7.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3234, allocations: 66.07 MB / 0.5627 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.00172/0.3251, allocations: 0.4961 MB / 0.5632 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002609/0.3277, allocations: 1.327 MB / 0.5645 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.849e-05/0.3277, allocations: 0 / 0.5645 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.196e-05/0.3277, allocations: 0 / 0.5645 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.718e-06/0.3277, allocations: 0 / 0.5645 GB, free: 2.457 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.001522/0.3292, allocations: 0.5803 MB / 0.565 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.171e-05/0.3293, allocations: 4 kB / 0.5651 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.3293, allocations: 4 kB / 0.5651 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.612e-05/0.3294, allocations: 0 / 0.5651 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.581e-05/0.3294, allocations: 7.938 kB / 0.5651 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.983e-06/0.3294, allocations: 0 / 0.5651 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01668/0.3461, allocations: 2.54 MB / 0.5675 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.3461, allocations: 4 kB / 0.5675 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.3461, allocations: 4 kB / 0.5676 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003925/0.3465, allocations: 163.6 kB / 0.5677 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3465, allocations: 4 kB / 0.5677 GB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.3465, allocations: 0 / 0.5677 GB, free: 15.67 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.3465, allocations: 4 kB / 0.5677 GB, free: 15.67 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.0004375/0.347, allocations: 295.9 kB / 0.568 GB, free: 15.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.347, allocations: 12.03 kB / 0.568 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.347, allocations: 0.9375 kB / 0.568 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.605e-05/0.3471, allocations: 106.5 kB / 0.5681 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.3472, allocations: 4.375 kB / 0.5681 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.3472, allocations: 4.359 kB / 0.5681 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.922e-05/0.3473, allocations: 38.19 kB / 0.5682 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3473, allocations: 4.188 kB / 0.5682 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3473, allocations: 3.938 kB / 0.5682 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3473, allocations: 0 / 0.5682 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.94e-05/0.3473, allocations: 7.938 kB / 0.5682 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.3474, allocations: 112.8 kB / 0.5683 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.77e-05/0.3475, allocations: 22.61 kB / 0.5683 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.856e-05/0.3475, allocations: 12.78 kB / 0.5683 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.097e-06/0.3475, allocations: 0 / 0.5683 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.477e-05/0.3476, allocations: 60.27 kB / 0.5684 GB, free: 14.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.3476, allocations: 0 / 0.5684 GB, free: 14.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001797/0.3477, allocations: 63.41 kB / 0.5684 GB, free: 14.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.3478, allocations: 77.11 kB / 0.5685 GB, free: 14.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.029e-05/0.3479, allocations: 97.84 kB / 0.5686 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.3479, allocations: 29.7 kB / 0.5686 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.277e-05/0.3479, allocations: 80.14 kB / 0.5687 GB, free: 14.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.3479, allocations: 0 / 0.5687 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.348, allocations: 13.84 kB / 0.5687 GB, free: 14.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3481, allocations: 314.8 kB / 0.569 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.022e-05/0.3481, allocations: 0 / 0.569 GB, free: 14.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.641e-06/0.3481, allocations: 3.938 kB / 0.569 GB, free: 14.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.353e-05/0.3482, allocations: 64.27 kB / 0.5691 GB, free: 14.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3482, allocations: 0 / 0.5691 GB, free: 14.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.432e-05/0.3483, allocations: 67.33 kB / 0.5691 GB, free: 13.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/0.3483, allocations: 33.8 kB / 0.5692 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3483, allocations: 0 / 0.5692 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3483, allocations: 3.938 kB / 0.5692 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.3483, allocations: 0 / 0.5692 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3483, allocations: 4 kB / 0.5692 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.3483, allocations: 3.953 kB / 0.5692 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.3483, allocations: 0 / 0.5692 GB, free: 13.92 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.000101/0.3484, allocations: 144.3 kB / 0.5693 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.023e-06/0.3484, allocations: 3.938 kB / 0.5693 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.492e-05/0.3485, allocations: 10.94 kB / 0.5693 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.51e-07/0.3485, allocations: 0 / 0.5693 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3485, allocations: 0 / 0.5693 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.3485, allocations: 0 / 0.5693 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.3486, allocations: 120.8 kB / 0.5695 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.3486, allocations: 0 / 0.5695 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-06/0.3486, allocations: 3.984 kB / 0.5695 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.3486, allocations: 3.938 kB / 0.5695 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.3486, allocations: 3.938 kB / 0.5695 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.3486, allocations: 0 / 0.5695 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3486, allocations: 3.984 kB / 0.5695 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.3487, allocations: 94.83 kB / 0.5696 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-06/0.3487, allocations: 0 / 0.5696 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.3487, allocations: 11.94 kB / 0.5696 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.125e-06/0.3487, allocations: 0 / 0.5696 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.074e-05/0.3487, allocations: 0 / 0.5696 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.3487, allocations: 0 / 0.5696 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.654e-05/0.3488, allocations: 75.28 kB / 0.5696 GB, free: 13.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3488, allocations: 7.969 kB / 0.5697 GB, free: 13.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000287/0.3491, allocations: 71.86 kB / 0.5697 GB, free: 13.29 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.0009553/0.35, allocations: 401.5 kB / 0.5701 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.881e-05/0.3501, allocations: 59.41 kB / 0.5702 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3501, allocations: 0 / 0.5702 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.18e-05/0.3502, allocations: 63.39 kB / 0.5702 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.3503, allocations: 3.281 kB / 0.5702 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002016/0.3505, allocations: 106.7 kB / 0.5703 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.3508, allocations: 0.669 MB / 0.571 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.597e-05/0.3508, allocations: 11.44 kB / 0.571 GB, free: 11.96 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3508, allocations: 0 / 0.571 GB, free: 11.96 MB / 414.1 MB Notification: Performance of Templates: time 0.003869/0.3547, allocations: 2.025 MB / 0.573 GB, free: 9.934 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 [Calling sys.exit(0), Time elapsed: 7.990625834092498]