Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008987/0.0008987, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008414/0.0008414, allocations: 173.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8337/0.8337, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1266/0.1266, allocations: 32.37 MB / 270.3 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 408.1 MB, free: 13.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.266e-05/3.436e-05, allocations: 9.594 kB / 408.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001201/0.001235, allocations: 0.4911 MB / 408.6 MB, free: 12.56 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.002681, allocations: 1.358 MB / 409.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.431e-05/0.002705, allocations: 0 / 409.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.639e-05/0.002721, allocations: 3.938 kB / 409.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000192/0.002913, allocations: 7.938 kB / 409.9 MB, free: 11.19 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009419/0.003855, allocations: 261.8 kB / 410.2 MB, free: 10.93 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.05e-05/0.003906, allocations: 11.94 kB / 410.2 MB, free: 10.92 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.655e-05/0.003942, allocations: 4 kB / 410.2 MB, free: 10.92 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.724e-05/0.003969, allocations: 0 / 410.2 MB, free: 10.92 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.625e-05/0.004006, allocations: 11.92 kB / 410.2 MB, free: 10.91 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.694e-06/0.004013, allocations: 0 / 410.2 MB, free: 10.91 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.005655, allocations: 0.713 MB / 410.9 MB, free: 10.26 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.005666, allocations: 3.938 kB / 410.9 MB, free: 10.26 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.061e-05/0.005687, allocations: 0 / 410.9 MB, free: 10.26 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.00601, allocations: 211.5 kB / 411.1 MB, free: 10.05 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.006013, allocations: 0 / 411.1 MB, free: 10.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.006014, allocations: 0 / 411.1 MB, free: 10.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.006019, allocations: 0 / 411.1 MB, free: 10.05 MB / 346.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.0003358/0.006355, allocations: 315.6 kB / 411.5 MB, free: 9.707 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.006393, allocations: 12.03 kB / 411.5 MB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.006428, allocations: 4.938 kB / 411.5 MB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.504e-05/0.006503, allocations: 101.8 kB / 411.6 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.006514, allocations: 384 / 411.6 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.006523, allocations: 4.375 kB / 411.6 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.69e-05/0.006609, allocations: 51.97 kB / 411.6 MB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.006618, allocations: 4.188 kB / 411.6 MB, free: 9.496 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.006628, allocations: 12.11 kB / 411.6 MB, free: 9.484 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.006633, allocations: 0 / 411.6 MB, free: 9.484 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.771e-05/0.006661, allocations: 33.58 kB / 411.7 MB, free: 9.445 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.31e-05/0.006754, allocations: 97.33 kB / 411.8 MB, free: 9.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.393e-05/0.006798, allocations: 48.31 kB / 411.8 MB, free: 9.258 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.838e-05/0.006816, allocations: 30.56 kB / 411.8 MB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.294e-06/0.006823, allocations: 0 / 411.8 MB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.006859, allocations: 68.31 kB / 411.9 MB, free: 9.137 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 6.72e-07/0.00686, allocations: 0 / 411.9 MB, free: 9.137 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.000167/0.007027, allocations: 114.8 kB / 412 MB, free: 9 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.007069, allocations: 81.05 kB / 412.1 MB, free: 8.902 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.394e-05/0.007123, allocations: 105.8 kB / 412.2 MB, free: 8.789 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.007132, allocations: 25.7 kB / 412.2 MB, free: 8.758 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.075e-05/0.007153, allocations: 84.39 kB / 412.3 MB, free: 8.672 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.007168, allocations: 4 kB / 412.3 MB, free: 8.668 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/0.00719, allocations: 9.719 kB / 412.3 MB, free: 8.652 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.057e-05/0.00726, allocations: 314.8 kB / 412.6 MB, free: 8.336 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.001e-05/0.00728, allocations: 29.7 kB / 412.7 MB, free: 8.301 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.276e-05/0.007293, allocations: 29.69 kB / 412.7 MB, free: 8.266 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.666e-05/0.00733, allocations: 60.27 kB / 412.8 MB, free: 8.191 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.007332, allocations: 3.938 kB / 412.8 MB, free: 8.188 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.996e-05/0.007392, allocations: 89.11 kB / 412.8 MB, free: 8.082 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.007422, allocations: 41.78 kB / 412.9 MB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.007427, allocations: 0 / 412.9 MB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.00744, allocations: 0 / 412.9 MB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.924e-06/0.007441, allocations: 3.938 kB / 412.9 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.007447, allocations: 3.984 kB / 412.9 MB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.541e-05/0.007462, allocations: 4 kB / 412.9 MB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.00747, allocations: 0 / 412.9 MB, free: 8.023 MB / 346.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 6.313e-05/0.007534, allocations: 131.5 kB / 413 MB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.793e-06/0.00754, allocations: 11.95 kB / 413 MB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.103e-05/0.007551, allocations: 7.141 kB / 413 MB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.007553, allocations: 4 kB / 413 MB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.007561, allocations: 7.922 kB / 413.1 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.007564, allocations: 0 / 413.1 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.254e-05/0.007617, allocations: 105.3 kB / 413.2 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.007618, allocations: 0 / 413.2 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.3e-07/0.007618, allocations: 0 / 413.2 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.007619, allocations: 0 / 413.2 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.007625, allocations: 0 / 413.2 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.007626, allocations: 0 / 413.2 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.007628, allocations: 7.938 kB / 413.2 MB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.19e-05/0.00771, allocations: 120.5 kB / 413.3 MB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-06/0.007714, allocations: 4.031 kB / 413.3 MB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.007725, allocations: 7.938 kB / 413.3 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.513e-06/0.007731, allocations: 0 / 413.3 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.007744, allocations: 7.922 kB / 413.3 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-06/0.007746, allocations: 3.938 kB / 413.3 MB, free: 7.535 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.331e-05/0.007769, allocations: 79.28 kB / 413.4 MB, free: 7.457 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007769, allocations: 0 / 413.4 MB, free: 7.457 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000227/0.007996, allocations: 63.8 kB / 413.4 MB, free: 7.395 MB / 346.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.0004826/0.008479, allocations: 345.8 kB / 413.8 MB, free: 7.047 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000106/0.008585, allocations: 114.8 kB / 413.9 MB, free: 6.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.008587, allocations: 0 / 413.9 MB, free: 6.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.504e-05/0.008612, allocations: 85.09 kB / 414 MB, free: 6.809 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000102/0.008714, allocations: 4.125 kB / 414 MB, free: 6.805 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001864/0.0089, allocations: 140.3 kB / 414.1 MB, free: 6.629 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.56e-05/0.008936, allocations: 59.34 kB / 414.2 MB, free: 6.551 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.256e-05/0.008948, allocations: 8.5 kB / 414.2 MB, free: 6.543 MB / 346.7 MB Notification: Performance of SimCode: time 5.71e-07/0.008949, allocations: 0 / 414.2 MB, free: 6.543 MB / 346.7 MB Notification: Performance of Templates: time 0.002605/0.01155, allocations: 1.713 MB / 415.9 MB, free: 4.828 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.052814396098256]