Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001199/0.001199, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 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.001414/0.001414, allocations: 221.1 kB / 25.13 MB, free: 3.609 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.439/1.439, allocations: 230.4 MB / 258.7 MB, free: 8.07 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.2318/0.2318, allocations: 46.93 MB / 362 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 179] 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.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles") [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.002434/0.002434, allocations: 79.86 kB / 0.4978 GB, free: 7.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.371, allocations: 66.08 MB / 0.5623 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001687/0.3727, allocations: 485.1 kB / 0.5628 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002295/0.3749, allocations: 1.377 MB / 0.5641 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.613e-05/0.375, allocations: 0 / 0.5641 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.375, allocations: 4 kB / 0.5641 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.3752, allocations: 11.94 kB / 0.5641 GB, free: 2.422 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Utilities.mo:455:3-487: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.001107/0.3763, allocations: 265.6 kB / 0.5644 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.584e-05/0.3763, allocations: 8 kB / 0.5644 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.561e-05/0.3764, allocations: 0 / 0.5644 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.964e-05/0.3764, allocations: 3.984 kB / 0.5644 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.215e-05/0.3765, allocations: 4 kB / 0.5644 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.895e-06/0.3765, allocations: 0 / 0.5644 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004022/0.3805, allocations: 0.7308 MB / 0.5651 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.839e-06/0.3805, allocations: 0 / 0.5651 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.263e-05/0.3805, allocations: 3.984 kB / 0.5651 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.3808, allocations: 178.2 kB / 0.5653 GB, free: 1.375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3808, allocations: 0 / 0.5653 GB, free: 1.375 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3808, allocations: 7.938 kB / 0.5653 GB, free: 1.367 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.3808, allocations: 0 / 0.5653 GB, free: 1.367 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.0004091/0.3812, allocations: 311.7 kB / 0.5656 GB, free: 1.023 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.3813, allocations: 12.03 kB / 0.5656 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.3813, allocations: 0.9375 kB / 0.5656 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.3814, allocations: 102.5 kB / 0.5657 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.3814, allocations: 384 / 0.5657 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.3814, allocations: 4.375 kB / 0.5657 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.3815, allocations: 67.83 kB / 0.5658 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3815, allocations: 192 / 0.5658 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.3815, allocations: 7.938 kB / 0.5658 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.3816, allocations: 0 / 0.5658 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.903e-05/0.3816, allocations: 29.7 kB / 0.5658 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001347/0.3817, allocations: 124.8 kB / 0.5659 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.063e-05/0.3818, allocations: 40.28 kB / 0.566 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/0.3818, allocations: 38.66 kB / 0.566 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.697e-06/0.3818, allocations: 4 kB / 0.566 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.93e-05/0.3819, allocations: 56.27 kB / 0.5661 GB, free: 432 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.3819, allocations: 3.938 kB / 0.5661 GB, free: 428 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002054/0.3821, allocations: 126.7 kB / 0.5662 GB, free: 276 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.3821, allocations: 77.11 kB / 0.5663 GB, free: 180 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.426e-05/0.3822, allocations: 97.86 kB / 0.5663 GB, free: 72 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.3822, allocations: 25.95 kB / 0.5664 GB, free: 40 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.772e-05/0.3823, allocations: 84.14 kB / 0.5665 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.3823, allocations: 0 / 0.5665 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.3823, allocations: 17.7 kB / 0.5665 GB, free: 15.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3825, allocations: 314.8 kB / 0.5668 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.283e-05/0.3825, allocations: 25.7 kB / 0.5668 GB, free: 15.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.608e-05/0.3825, allocations: 29.7 kB / 0.5668 GB, free: 15.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.392e-05/0.3826, allocations: 64.2 kB / 0.5669 GB, free: 15.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3826, allocations: 4.062 kB / 0.5669 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.465e-05/0.3827, allocations: 97.05 kB / 0.567 GB, free: 15.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.821e-05/0.3827, allocations: 29.7 kB / 0.567 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.3827, allocations: 3.938 kB / 0.567 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3828, allocations: 0 / 0.567 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.3828, allocations: 0 / 0.567 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3828, allocations: 4 kB / 0.567 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.457e-05/0.3828, allocations: 0 / 0.567 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.3828, allocations: 3.984 kB / 0.567 GB, free: 15.3 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.719e-05/0.3829, allocations: 144.4 kB / 0.5672 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.704e-06/0.3829, allocations: 0 / 0.5672 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.352e-05/0.3829, allocations: 7.094 kB / 0.5672 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-06/0.3829, allocations: 3.938 kB / 0.5672 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3829, allocations: 0 / 0.5672 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.3829, allocations: 3.938 kB / 0.5672 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.383, allocations: 124.8 kB / 0.5673 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.383, allocations: 0 / 0.5673 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.405e-06/0.383, allocations: 3.938 kB / 0.5673 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.383, allocations: 0 / 0.5673 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.383, allocations: 7.938 kB / 0.5673 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.383, allocations: 4 kB / 0.5673 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.383, allocations: 0 / 0.5673 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.3832, allocations: 116.5 kB / 0.5674 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-06/0.3832, allocations: 0 / 0.5674 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.3832, allocations: 7.938 kB / 0.5674 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.636e-06/0.3832, allocations: 0 / 0.5674 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.3832, allocations: 0 / 0.5674 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.3832, allocations: 8.031 kB / 0.5674 GB, free: 14.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.639e-05/0.3833, allocations: 83.27 kB / 0.5675 GB, free: 14.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3833, allocations: 0 / 0.5675 GB, free: 14.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002929/0.3836, allocations: 59.88 kB / 0.5676 GB, free: 14.65 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.0007576/0.3843, allocations: 320.9 kB / 0.5679 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001313/0.3844, allocations: 122.7 kB / 0.568 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3844, allocations: 0 / 0.568 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.989e-05/0.3845, allocations: 81.17 kB / 0.5681 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.3846, allocations: 6.5 kB / 0.5681 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000204/0.3848, allocations: 114.7 kB / 0.5682 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.3852, allocations: 0.6729 MB / 0.5688 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.134e-06/0.3852, allocations: 0 / 0.5688 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.679e-05/0.3852, allocations: 7.438 kB / 0.5688 GB, free: 13.28 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3852, allocations: 0 / 0.5688 GB, free: 13.28 MB / 414.1 MB Notification: Performance of Templates: time 0.005943/0.3911, allocations: 1.607 MB / 0.5704 GB, free: 11.68 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_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.039699401007965]