Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001708/0.001708, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002024/0.002024, allocations: 215.5 kB / 23.73 MB, free: 4.406 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.577/1.577, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2404/0.2404, allocations: 46.94 MB / 360.8 MB, free: 3.969 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002375, allocations: 75.88 kB / 0.4966 GB, free: 7.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3522, allocations: 66.09 MB / 0.5611 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001646/0.3539, allocations: 493 kB / 0.5616 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002806/0.3567, allocations: 1.303 MB / 0.5629 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.518e-05/0.3567, allocations: 0 / 0.5629 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.197e-05/0.3567, allocations: 0 / 0.5629 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.39e-06/0.3567, allocations: 0 / 0.5629 GB, free: 2.219 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:4:3-230: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.001564/0.3583, allocations: 0.6115 MB / 0.5635 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.391e-05/0.3583, allocations: 4 kB / 0.5635 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.761e-05/0.3584, allocations: 0 / 0.5635 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.763e-05/0.3584, allocations: 4 kB / 0.5635 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.082e-05/0.3584, allocations: 0 / 0.5635 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.711e-06/0.3584, allocations: 0 / 0.5635 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02429/0.3827, allocations: 3.408 MB / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.3827, allocations: 0 / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.3827, allocations: 0 / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004399/0.3832, allocations: 171.6 kB / 0.567 GB, free: 14.78 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3832, allocations: 0 / 0.567 GB, free: 14.78 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3832, allocations: 0 / 0.567 GB, free: 14.78 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.3832, allocations: 0 / 0.567 GB, free: 14.78 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.0003994/0.3836, allocations: 303.9 kB / 0.5673 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3836, allocations: 8.031 kB / 0.5673 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.3837, allocations: 8.922 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.46e-05/0.3837, allocations: 106.5 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.3838, allocations: 4.375 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-06/0.3838, allocations: 384 / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.3839, allocations: 59.91 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.3839, allocations: 4.125 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.3839, allocations: 3.938 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.3839, allocations: 0 / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.73e-05/0.3839, allocations: 29.7 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001134/0.384, allocations: 105.2 kB / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.184e-05/0.3841, allocations: 40.28 kB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.918e-05/0.3841, allocations: 38.66 kB / 0.5677 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.737e-06/0.3842, allocations: 0 / 0.5677 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.145e-05/0.3842, allocations: 60.27 kB / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.3842, allocations: 3.938 kB / 0.5677 GB, free: 13.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002006/0.3844, allocations: 118.7 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.3845, allocations: 81.11 kB / 0.5679 GB, free: 13.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.756e-05/0.3845, allocations: 89.86 kB / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.3845, allocations: 25.7 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.159e-05/0.3846, allocations: 80.14 kB / 0.5681 GB, free: 13.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.3846, allocations: 4 kB / 0.5681 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.3846, allocations: 17.84 kB / 0.5681 GB, free: 13.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3848, allocations: 314.8 kB / 0.5684 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.201e-05/0.3848, allocations: 25.7 kB / 0.5685 GB, free: 13.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.951e-05/0.3848, allocations: 29.7 kB / 0.5685 GB, free: 13.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.367e-05/0.3849, allocations: 68.2 kB / 0.5685 GB, free: 12.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3849, allocations: 0 / 0.5685 GB, free: 12.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.758e-05/0.385, allocations: 89.09 kB / 0.5686 GB, free: 12.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/0.385, allocations: 29.7 kB / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.385, allocations: 0 / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.385, allocations: 4.094 kB / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.796e-06/0.385, allocations: 3.938 kB / 0.5687 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.385, allocations: 0 / 0.5687 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.782e-05/0.385, allocations: 7.953 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.385, allocations: 3.984 kB / 0.5687 GB, free: 12.77 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.222e-05/0.3851, allocations: 131.5 kB / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.3851, allocations: 11.98 kB / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.616e-06/0.3852, allocations: 3 kB / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3852, allocations: 3.938 kB / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3852, allocations: 0 / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-06/0.3852, allocations: 0 / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.128e-05/0.3852, allocations: 105.3 kB / 0.5689 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.3852, allocations: 0 / 0.5689 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.3852, allocations: 0 / 0.5689 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.3852, allocations: 3.938 kB / 0.5689 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.3853, allocations: 0 / 0.5689 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.3853, allocations: 0 / 0.5689 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.605e-06/0.3853, allocations: 11.92 kB / 0.5689 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.3854, allocations: 112.5 kB / 0.569 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-06/0.3854, allocations: 4 kB / 0.569 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.3854, allocations: 3.984 kB / 0.5691 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.707e-06/0.3854, allocations: 7.969 kB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/0.3854, allocations: 3.938 kB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.3854, allocations: 4 kB / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.881e-05/0.3855, allocations: 75.28 kB / 0.5691 GB, free: 12.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3855, allocations: 0 / 0.5691 GB, free: 12.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.3857, allocations: 75.8 kB / 0.5692 GB, free: 12.14 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.001111/0.3869, allocations: 412.2 kB / 0.5696 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.387, allocations: 118.7 kB / 0.5697 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.387, allocations: 0 / 0.5697 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.965e-05/0.3871, allocations: 81.11 kB / 0.5698 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.3872, allocations: 7.438 kB / 0.5698 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001991/0.3874, allocations: 114.7 kB / 0.5699 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.663e-05/0.3874, allocations: 51.36 kB / 0.57 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.39e-06/0.3874, allocations: 0 / 0.57 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.757e-05/0.3875, allocations: 15.56 kB / 0.57 GB, free: 11.32 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3875, allocations: 3.938 kB / 0.57 GB, free: 11.32 MB / 414.1 MB Notification: Performance of Templates: time 0.005569/0.393, allocations: 2.193 MB / 0.5721 GB, free: 9.125 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.297931637614965]