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.001724/0.001724, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001998/0.001998, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.49/1.49, allocations: 230.5 MB / 258.1 MB, free: 7.781 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.2285/0.2285, allocations: 46.95 MB / 361.6 MB, free: 3.922 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.002598/0.002598, allocations: 83.86 kB / 0.4974 GB, free: 7.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3415, allocations: 66.08 MB / 0.5619 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001636/0.3431, allocations: 491.7 kB / 0.5624 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002206/0.3454, allocations: 1.342 MB / 0.5637 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.191e-05/0.3454, allocations: 3.938 kB / 0.5637 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.57e-05/0.3454, allocations: 0 / 0.5637 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.3456, allocations: 19.98 kB / 0.5637 GB, free: 2.129 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.001116/0.3467, allocations: 265 kB / 0.5639 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.046e-05/0.3467, allocations: 4 kB / 0.5639 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.3468, allocations: 4 kB / 0.564 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.768e-05/0.3468, allocations: 0 / 0.564 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.113e-05/0.3468, allocations: 0 / 0.564 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.806e-06/0.3469, allocations: 4 kB / 0.564 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00414/0.351, allocations: 0.7117 MB / 0.5647 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.227e-06/0.351, allocations: 0 / 0.5647 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.309e-05/0.351, allocations: 3.938 kB / 0.5647 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.3514, allocations: 178.1 kB / 0.5648 GB, free: 1.102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3514, allocations: 7.938 kB / 0.5648 GB, free: 1.094 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3514, allocations: 0 / 0.5648 GB, free: 1.094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.3514, allocations: 8 kB / 0.5648 GB, free: 1.086 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.0004355/0.3519, allocations: 303.7 kB / 0.5651 GB, free: 0.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3519, allocations: 8.031 kB / 0.5651 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.3519, allocations: 0.9375 kB / 0.5651 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.3521, allocations: 114.5 kB / 0.5652 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.3521, allocations: 384 / 0.5652 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.3521, allocations: 384 / 0.5652 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.3522, allocations: 55.97 kB / 0.5653 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3522, allocations: 4.188 kB / 0.5653 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3522, allocations: 3.938 kB / 0.5653 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3522, allocations: 4 kB / 0.5653 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.306e-05/0.3522, allocations: 29.7 kB / 0.5653 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.3524, allocations: 105.3 kB / 0.5654 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.663e-05/0.3524, allocations: 48.27 kB / 0.5655 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.097e-05/0.3525, allocations: 34.62 kB / 0.5655 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.896e-06/0.3525, allocations: 0 / 0.5655 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.3525, allocations: 56.27 kB / 0.5656 GB, free: 188 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.3525, allocations: 3.938 kB / 0.5656 GB, free: 184 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002302/0.3528, allocations: 130.7 kB / 0.5657 GB, free: 28 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/0.3528, allocations: 77.23 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.145e-05/0.3529, allocations: 97.86 kB / 0.5659 GB, free: 15.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.3529, allocations: 25.7 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.74e-05/0.353, allocations: 80.14 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.353, allocations: 4 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.353, allocations: 17.7 kB / 0.566 GB, free: 15.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.3532, allocations: 310.8 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.028e-05/0.3532, allocations: 29.7 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.031e-05/0.3532, allocations: 25.7 kB / 0.5663 GB, free: 15.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.771e-05/0.3533, allocations: 64.45 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3533, allocations: 4 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001012/0.3534, allocations: 100.9 kB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/0.3534, allocations: 33.7 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3534, allocations: 0 / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3534, allocations: 3.938 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.3534, allocations: 0 / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.3534, allocations: 0 / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.588e-05/0.3535, allocations: 0 / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.3535, allocations: 0 / 0.5665 GB, free: 15.07 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.0001022/0.3536, allocations: 143.6 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.846e-06/0.3536, allocations: 4 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.565e-05/0.3536, allocations: 7.156 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3536, allocations: 3.938 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3536, allocations: 0 / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3536, allocations: 0 / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.953e-05/0.3537, allocations: 97.31 kB / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3537, allocations: 4 kB / 0.5668 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.3537, allocations: 0 / 0.5668 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3537, allocations: 0 / 0.5668 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.3537, allocations: 0 / 0.5668 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.3537, allocations: 0 / 0.5668 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3537, allocations: 7.938 kB / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.3538, allocations: 124.5 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-06/0.3538, allocations: 0 / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.3538, allocations: 3.938 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.238e-05/0.3539, allocations: 4 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.3539, allocations: 7.938 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.3539, allocations: 0 / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.959e-05/0.3539, allocations: 79.28 kB / 0.567 GB, free: 14.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3539, allocations: 0 / 0.567 GB, free: 14.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003226/0.3542, allocations: 67.98 kB / 0.5671 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.0008614/0.3551, allocations: 341.8 kB / 0.5674 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001654/0.3553, allocations: 114.8 kB / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3553, allocations: 3.938 kB / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.671e-05/0.3553, allocations: 89.05 kB / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.3555, allocations: 0 / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/0.3558, allocations: 136.4 kB / 0.5677 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.541e-05/0.3558, allocations: 55.36 kB / 0.5678 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.3559, allocations: 11.56 kB / 0.5678 GB, free: 13.65 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3559, allocations: 4 kB / 0.5678 GB, free: 13.65 MB / 414.1 MB Notification: Performance of Templates: time 0.004668/0.3605, allocations: 1.665 MB / 0.5694 GB, free: 11.98 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins1/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: 8.32513404916972]