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.002275/0.002275, allocations: 92.97 kB / 20.21 MB, free: 4.207 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.002929/0.002929, allocations: 169.2 kB / 23.53 MB, free: 0.8945 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 1.464/1.464, allocations: 158.6 MB / 185.3 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] 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.2011/0.2011, allocations: 32.38 MB / 270 MB, free: 14.76 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.363e-06/1.363e-06, allocations: 0 / 346.9 MB, free: 9.836 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.089e-05, allocations: 10.25 kB / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001218/0.001239, allocations: 0.5034 MB / 347.4 MB, free: 9.328 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.002747, allocations: 1.368 MB / 348.8 MB, free: 7.953 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.382e-05/0.002771, allocations: 4 kB / 348.8 MB, free: 7.949 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.175e-05/0.002783, allocations: 4 kB / 348.8 MB, free: 7.945 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.002965, allocations: 4 kB / 348.8 MB, free: 7.941 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.004017, allocations: 278.8 kB / 349.1 MB, free: 7.676 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.94e-05/0.004066, allocations: 4 kB / 349.1 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.654e-05/0.004093, allocations: 0 / 349.1 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.648e-05/0.004129, allocations: 4 kB / 349.1 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.776e-05/0.004207, allocations: 3.938 kB / 349.1 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.336e-06/0.004216, allocations: 0 / 349.1 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005525/0.00974, allocations: 1.015 MB / 350.1 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.009751, allocations: 0 / 350.1 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.009775, allocations: 0 / 350.1 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004264/0.0102, allocations: 211.5 kB / 350.3 MB, free: 6.559 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.01021, allocations: 3.938 kB / 350.3 MB, free: 6.555 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.01021, allocations: 4 kB / 350.3 MB, free: 6.551 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.01021, allocations: 0 / 350.3 MB, free: 6.551 MB / 282.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.0003346/0.01055, allocations: 417.6 kB / 350.7 MB, free: 6.102 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.01058, allocations: 12.03 kB / 350.7 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.01063, allocations: 0.9375 kB / 350.7 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.922e-05/0.0107, allocations: 112.6 kB / 350.8 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.01071, allocations: 384 / 350.8 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.01073, allocations: 384 / 350.8 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.685e-05/0.01081, allocations: 63.95 kB / 350.9 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.01082, allocations: 192 / 350.9 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.01083, allocations: 8.125 kB / 350.9 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.01083, allocations: 0 / 350.9 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.411e-05/0.01086, allocations: 29.7 kB / 350.9 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.453e-05/0.01095, allocations: 108.6 kB / 351 MB, free: 5.695 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.408e-05/0.01101, allocations: 52.8 kB / 351.1 MB, free: 5.625 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.161e-05/0.01103, allocations: 37.39 kB / 351.1 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/0.01104, allocations: 3.984 kB / 351.1 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.01108, allocations: 63.16 kB / 351.2 MB, free: 5.496 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.01108, allocations: 0 / 351.2 MB, free: 5.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001788/0.01126, allocations: 118.9 kB / 351.3 MB, free: 5.355 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.01128, allocations: 93.03 kB / 351.4 MB, free: 5.246 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.583e-05/0.01134, allocations: 153.9 kB / 351.6 MB, free: 5.078 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/0.01135, allocations: 25.7 kB / 351.6 MB, free: 5.047 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.862e-05/0.01136, allocations: 126.9 kB / 351.7 MB, free: 4.918 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.305e-05/0.01138, allocations: 0 / 351.7 MB, free: 4.918 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/0.0114, allocations: 19.38 kB / 351.7 MB, free: 4.891 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.005e-05/0.01146, allocations: 496.1 kB / 352.2 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.01148, allocations: 29.69 kB / 352.2 MB, free: 4.359 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.174e-05/0.01149, allocations: 29.7 kB / 352.3 MB, free: 4.324 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.905e-05/0.01152, allocations: 67.28 kB / 352.3 MB, free: 4.242 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01152, allocations: 0 / 352.3 MB, free: 4.242 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.381e-05/0.01159, allocations: 93.05 kB / 352.4 MB, free: 4.133 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.01161, allocations: 37.69 kB / 352.5 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01162, allocations: 0 / 352.5 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.01163, allocations: 0 / 352.5 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/0.01163, allocations: 3.938 kB / 352.5 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.01164, allocations: 3.938 kB / 352.5 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.548e-05/0.01165, allocations: 0 / 352.5 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.01166, allocations: 7.984 kB / 352.5 MB, free: 4.074 MB / 282.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 5.166e-05/0.01171, allocations: 182.3 kB / 352.7 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.01172, allocations: 4 kB / 352.7 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.366e-05/0.01174, allocations: 7.141 kB / 352.7 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.01174, allocations: 0 / 352.7 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.01174, allocations: 3.938 kB / 352.7 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.01175, allocations: 4 kB / 352.7 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.963e-05/0.01179, allocations: 112.6 kB / 352.8 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.0118, allocations: 0 / 352.8 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.0118, allocations: 0 / 352.8 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.0118, allocations: 0 / 352.8 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.0118, allocations: 4 kB / 352.8 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.0118, allocations: 0 / 352.8 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01181, allocations: 7.984 kB / 352.8 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.375e-05/0.01189, allocations: 135.7 kB / 352.9 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-06/0.0119, allocations: 7.953 kB / 352.9 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.01191, allocations: 3.984 kB / 352.9 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.287e-06/0.01192, allocations: 0 / 352.9 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.689e-05/0.01194, allocations: 3.938 kB / 352.9 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.01194, allocations: 4 kB / 352.9 MB, free: 3.516 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.986e-05/0.01196, allocations: 119.2 kB / 353.1 MB, free: 3.398 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01196, allocations: 4.125 kB / 353.1 MB, free: 3.395 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002907/0.01225, allocations: 67.8 kB / 353.1 MB, free: 3.328 MB / 282.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.001122/0.01337, allocations: 348.9 kB / 353.5 MB, free: 3.004 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.453e-05/0.01347, allocations: 126.5 kB / 353.6 MB, free: 2.852 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.01347, allocations: 0 / 353.6 MB, free: 2.852 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.906e-05/0.0135, allocations: 92.73 kB / 353.7 MB, free: 2.738 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.01363, allocations: 11.98 kB / 353.7 MB, free: 2.727 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002798/0.01391, allocations: 124 kB / 353.8 MB, free: 2.57 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.581e-05/0.01393, allocations: 55.36 kB / 353.9 MB, free: 2.496 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.07e-06/0.01394, allocations: 0 / 353.9 MB, free: 2.496 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.322e-05/0.01395, allocations: 8.5 kB / 353.9 MB, free: 2.488 MB / 282.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01395, allocations: 0 / 353.9 MB, free: 2.488 MB / 282.7 MB Notification: Performance of Templates: time 0.004635/0.01859, allocations: 1.654 MB / 355.5 MB, free: 0.832 MB / 282.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 240] 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: 4.978930477052927]