Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.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.001369/0.001369, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001491/0.001491, allocations: 206 kB / 23.72 MB, free: 4.391 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.523/1.523, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.2471/0.2471, allocations: 46.95 MB / 360.8 MB, free: 3.938 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.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002444/0.002444, allocations: 83.86 kB / 0.4966 GB, free: 7.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3555, allocations: 66.1 MB / 0.5612 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001614/0.3571, allocations: 489 kB / 0.5616 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002311/0.3594, allocations: 1.346 MB / 0.5629 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.073e-05/0.3595, allocations: 3.938 kB / 0.5629 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.479e-05/0.3595, allocations: 0 / 0.5629 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.3597, allocations: 19.97 kB / 0.563 GB, free: 2.121 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:466:3-498:12:writable] Warning: Pure function 'ModelicaTest.Utilities.Files' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.3609, allocations: 251.6 kB / 0.5632 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.422e-05/0.361, allocations: 8 kB / 0.5632 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.361, allocations: 3.984 kB / 0.5632 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.053e-05/0.361, allocations: 4 kB / 0.5632 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.356e-05/0.3611, allocations: 3.984 kB / 0.5632 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.734e-06/0.3611, allocations: 0 / 0.5632 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004335/0.3654, allocations: 0.7047 MB / 0.5639 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.3654, allocations: 0 / 0.5639 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.877e-05/0.3655, allocations: 7.938 kB / 0.5639 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003848/0.3658, allocations: 182.1 kB / 0.5641 GB, free: 1.098 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3658, allocations: 3.938 kB / 0.5641 GB, free: 1.094 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3658, allocations: 0 / 0.5641 GB, free: 1.094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.3658, allocations: 0 / 0.5641 GB, free: 1.094 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.0004427/0.3663, allocations: 315.7 kB / 0.5644 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3663, allocations: 8.031 kB / 0.5644 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.3664, allocations: 0.9375 kB / 0.5644 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.3665, allocations: 110.5 kB / 0.5645 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.3665, allocations: 384 / 0.5645 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.3665, allocations: 384 / 0.5645 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.3667, allocations: 59.97 kB / 0.5646 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.3667, allocations: 192 / 0.5646 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.3667, allocations: 7.922 kB / 0.5646 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3667, allocations: 0 / 0.5646 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.573e-05/0.3667, allocations: 33.64 kB / 0.5646 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001534/0.3669, allocations: 93.33 kB / 0.5647 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.96e-05/0.367, allocations: 48.31 kB / 0.5647 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.185e-05/0.367, allocations: 30.56 kB / 0.5648 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.367, allocations: 4.062 kB / 0.5648 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.337e-05/0.367, allocations: 60.25 kB / 0.5648 GB, free: 192 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 2.916e-06/0.3671, allocations: 7.938 kB / 0.5648 GB, free: 184 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002318/0.3673, allocations: 126.7 kB / 0.565 GB, free: 32 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.634e-05/0.3674, allocations: 77.11 kB / 0.565 GB, free: 15.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.3675, allocations: 101.8 kB / 0.5651 GB, free: 15.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.3675, allocations: 25.7 kB / 0.5652 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.3675, allocations: 80.14 kB / 0.5652 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.3676, allocations: 4 kB / 0.5652 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.3676, allocations: 13.72 kB / 0.5653 GB, free: 15.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.3677, allocations: 310.8 kB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.371e-05/0.3678, allocations: 25.95 kB / 0.5656 GB, free: 15.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.318e-05/0.3678, allocations: 37.69 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.373e-05/0.3679, allocations: 64.27 kB / 0.5657 GB, free: 15.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3679, allocations: 0 / 0.5657 GB, free: 15.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001044/0.368, allocations: 93 kB / 0.5658 GB, free: 15.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.368, allocations: 33.69 kB / 0.5658 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.368, allocations: 4 kB / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.368, allocations: 7.938 kB / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.368, allocations: 0 / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.368, allocations: 0 / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.493e-05/0.368, allocations: 4.094 kB / 0.5658 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.368, allocations: 0 / 0.5658 GB, free: 15.06 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.0001129/0.3682, allocations: 139.5 kB / 0.5659 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.3682, allocations: 0 / 0.5659 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.487e-05/0.3682, allocations: 3.156 kB / 0.5659 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.3682, allocations: 3.938 kB / 0.5659 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.3682, allocations: 7.984 kB / 0.566 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3682, allocations: 0 / 0.566 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.95e-05/0.3683, allocations: 93.33 kB / 0.566 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3683, allocations: 0 / 0.566 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-07/0.3683, allocations: 0 / 0.566 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3683, allocations: 8 kB / 0.566 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.3683, allocations: 0 / 0.566 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3683, allocations: 0 / 0.566 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.3683, allocations: 3.938 kB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.3685, allocations: 124.5 kB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-06/0.3685, allocations: 4 kB / 0.5662 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.3685, allocations: 3.938 kB / 0.5662 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.799e-06/0.3685, allocations: 0 / 0.5662 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.3685, allocations: 11.91 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.3685, allocations: 4 kB / 0.5662 GB, free: 14.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.894e-05/0.3686, allocations: 83.31 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3686, allocations: 0 / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003221/0.3689, allocations: 59.86 kB / 0.5663 GB, free: 14.44 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.0009109/0.3698, allocations: 344.5 kB / 0.5667 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000149/0.37, allocations: 106.8 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.37, allocations: 0 / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.433e-05/0.37, allocations: 89.03 kB / 0.5668 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.3702, allocations: 8 kB / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/0.3704, allocations: 110.8 kB / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.506e-05/0.3705, allocations: 59.34 kB / 0.567 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.522e-06/0.3705, allocations: 0 / 0.567 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.574e-05/0.3705, allocations: 7.438 kB / 0.567 GB, free: 13.68 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3705, allocations: 0 / 0.567 GB, free: 13.68 MB / 414.1 MB Notification: Performance of Templates: time 0.00554/0.3761, allocations: 1.589 MB / 0.5686 GB, free: 12.1 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.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.300277408212423]