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.001537/0.001537, allocations: 81.81 kB / 21.42 MB, free: 3.066 MB / 18.57 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.001901/0.001901, allocations: 164.4 kB / 24.82 MB, free: 9.258 MB / 18.57 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.093/1.093, allocations: 177 MB / 205.1 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] 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.2697/0.2697, allocations: 34.87 MB / 296.6 MB, free: 0.5 MB / 266.7 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 2.605e-06/2.605e-06, allocations: 0 / 379.2 MB, free: 1.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.91e-05/3.17e-05, allocations: 4.984 kB / 379.2 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001251/0.001283, allocations: 0.4892 MB / 379.7 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.003032, allocations: 1.308 MB / 381 MB, free: 72 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.12e-05/0.003054, allocations: 4 kB / 381 MB, free: 68 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.00307, allocations: 0 / 381 MB, free: 68 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.847e-06/0.003079, allocations: 4 kB / 381 MB, free: 64 kB / 346.7 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.001263/0.004342, allocations: 0.6113 MB / 381.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.424e-05/0.004386, allocations: 0 / 381.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.21e-05/0.004419, allocations: 3.938 kB / 381.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.909e-05/0.004448, allocations: 3.938 kB / 381.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2e-05/0.004468, allocations: 8 kB / 381.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.266e-06/0.004476, allocations: 0 / 381.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01466/0.01914, allocations: 5.097 MB / 386.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/0.01916, allocations: 3.938 kB / 386.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.758e-05/0.01919, allocations: 0 / 386.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004763/0.01966, allocations: 207.6 kB / 386.9 MB, free: 11.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.01967, allocations: 4 kB / 386.9 MB, free: 11.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.01967, allocations: 0 / 386.9 MB, free: 11.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.01967, allocations: 0 / 386.9 MB, free: 11.4 MB / 362.7 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.0004283/0.0201, allocations: 405.8 kB / 387.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.484e-05/0.02017, allocations: 8.031 kB / 387.3 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/0.02022, allocations: 4.938 kB / 387.3 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.365e-05/0.02031, allocations: 108.6 kB / 387.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.02033, allocations: 4.375 kB / 387.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.02034, allocations: 384 / 387.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.02045, allocations: 59.95 kB / 387.5 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.02046, allocations: 4.188 kB / 387.5 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.02047, allocations: 384 / 387.5 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.02048, allocations: 384 / 387.5 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.131e-05/0.02051, allocations: 33.64 kB / 387.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001186/0.02063, allocations: 89.27 kB / 387.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.72e-05/0.0207, allocations: 60.72 kB / 387.7 MB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.409e-05/0.02073, allocations: 33.39 kB / 387.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.02074, allocations: 8.047 kB / 387.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.016e-05/0.02079, allocations: 59.09 kB / 387.8 MB, free: 10.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.353e-06/0.02079, allocations: 0 / 387.8 MB, free: 10.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002294/0.02102, allocations: 118.8 kB / 387.9 MB, free: 10.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.02108, allocations: 81.09 kB / 388 MB, free: 10.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.977e-05/0.02115, allocations: 142.2 kB / 388.1 MB, free: 9.992 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.02116, allocations: 33.64 kB / 388.2 MB, free: 9.953 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.02121, allocations: 126.9 kB / 388.3 MB, free: 9.824 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.02124, allocations: 3.938 kB / 388.3 MB, free: 9.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.02127, allocations: 19.36 kB / 388.3 MB, free: 9.793 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.02144, allocations: 0.4883 MB / 388.8 MB, free: 9.293 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.044e-05/0.02146, allocations: 25.7 kB / 388.8 MB, free: 9.262 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.935e-05/0.02148, allocations: 25.83 kB / 388.8 MB, free: 9.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.229e-05/0.02154, allocations: 75.14 kB / 388.9 MB, free: 9.141 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.02154, allocations: 0 / 388.9 MB, free: 9.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001026/0.02164, allocations: 85.11 kB / 389 MB, free: 9.039 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.42e-05/0.02171, allocations: 37.64 kB / 389 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.02172, allocations: 0 / 389 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.02174, allocations: 0 / 389 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.803e-06/0.02174, allocations: 3.938 kB / 389 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.02174, allocations: 0 / 389 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.009e-05/0.02177, allocations: 3.984 kB / 389 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.02178, allocations: 4.031 kB / 389.1 MB, free: 8.984 MB / 362.7 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.0001133/0.0219, allocations: 186.2 kB / 389.2 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/0.02191, allocations: 0 / 389.2 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.683e-05/0.02193, allocations: 7 kB / 389.2 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.02193, allocations: 0 / 389.2 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.02193, allocations: 0 / 389.2 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.02194, allocations: 0 / 389.2 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.216e-05/0.02203, allocations: 97.2 kB / 389.3 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.02203, allocations: 3.984 kB / 389.3 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.384e-06/0.02203, allocations: 4 kB / 389.3 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.02204, allocations: 0 / 389.3 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.02204, allocations: 4 kB / 389.3 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.02205, allocations: 0 / 389.3 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.02205, allocations: 0 / 389.3 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.02218, allocations: 135.7 kB / 389.5 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-06/0.02219, allocations: 4 kB / 389.5 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.0222, allocations: 0 / 389.5 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.089e-05/0.02221, allocations: 0 / 389.5 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.789e-06/0.02222, allocations: 0 / 389.5 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.02222, allocations: 0 / 389.5 MB, free: 8.477 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.795e-05/0.02226, allocations: 127.2 kB / 389.6 MB, free: 8.352 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02226, allocations: 4.031 kB / 389.6 MB, free: 8.348 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003466/0.02261, allocations: 71.86 kB / 389.7 MB, free: 8.277 MB / 362.7 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.001102/0.02371, allocations: 455.3 kB / 390.1 MB, free: 7.895 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.02385, allocations: 126.5 kB / 390.3 MB, free: 7.742 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.02385, allocations: 0 / 390.3 MB, free: 7.742 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.419e-05/0.02389, allocations: 92.78 kB / 390.3 MB, free: 7.629 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.02403, allocations: 3.938 kB / 390.3 MB, free: 7.625 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002316/0.02426, allocations: 125.6 kB / 390.5 MB, free: 7.465 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.021e-05/0.0243, allocations: 51.36 kB / 390.5 MB, free: 7.395 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.805e-06/0.02431, allocations: 0 / 390.5 MB, free: 7.395 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.02441, allocations: 78.19 kB / 390.6 MB, free: 7.316 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02441, allocations: 0 / 390.6 MB, free: 7.316 MB / 362.7 MB Notification: Performance of Templates: time 0.007458/0.03187, allocations: 2.642 MB / 393.2 MB, free: 4.676 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1627447567880154]