Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 84.66 kB / 20.95 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 149.1 kB / 24.25 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine") translateModel(Modelica.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.264e-05/3.431e-05, allocations: 6.312 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.00357/0.003605, allocations: 1.48 MB / 268.8 MB, free: 5.246 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.004645, allocations: 442.7 kB / 269.2 MB, free: 4.812 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.873e-05/0.004704, allocations: 0 / 269.2 MB, free: 4.812 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.037e-05/0.004744, allocations: 7.922 kB / 269.2 MB, free: 4.805 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.004865, allocations: 11.81 kB / 269.2 MB, free: 4.793 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.005088, allocations: 35.83 kB / 269.3 MB, free: 4.758 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.005241, allocations: 67.72 kB / 269.3 MB, free: 4.691 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.056e-05/0.005292, allocations: 7.953 kB / 269.3 MB, free: 4.684 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.005504, allocations: 47.88 kB / 269.4 MB, free: 4.637 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.964e-05/0.005584, allocations: 27.91 kB / 269.4 MB, free: 4.609 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.005608, allocations: 4 kB / 269.4 MB, free: 4.605 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.7e-05/0.005625, allocations: 7.938 kB / 269.4 MB, free: 4.598 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.821e-05/0.005653, allocations: 11.94 kB / 269.4 MB, free: 4.586 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.635e-05/0.005699, allocations: 15.97 kB / 269.5 MB, free: 4.57 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.00584, allocations: 59.8 kB / 269.5 MB, free: 4.512 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.005842, allocations: 0 / 269.5 MB, free: 4.512 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005842, allocations: 0 / 269.5 MB, free: 4.512 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.005847, allocations: 0 / 269.5 MB, free: 4.512 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007716/0.006618, allocations: 314.1 kB / 269.8 MB, free: 4.176 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.006664, allocations: 12.92 kB / 269.8 MB, free: 4.164 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.01e-05/0.006724, allocations: 8.891 kB / 269.8 MB, free: 4.156 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.006878, allocations: 125.6 kB / 270 MB, free: 4.008 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.006892, allocations: 384 / 270 MB, free: 4.008 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.006908, allocations: 4.375 kB / 270 MB, free: 4.004 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/0.007216, allocations: 96.28 kB / 270.1 MB, free: 3.895 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.007225, allocations: 0 / 270.1 MB, free: 3.895 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.007238, allocations: 0 / 270.1 MB, free: 3.895 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.007244, allocations: 0 / 270.1 MB, free: 3.895 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002787/0.007522, allocations: 63.88 kB / 270.1 MB, free: 3.832 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002166/0.007739, allocations: 127.1 kB / 270.2 MB, free: 3.672 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/0.008053, allocations: 103.7 kB / 270.3 MB, free: 3.543 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.008219, allocations: 54.61 kB / 270.4 MB, free: 3.48 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.00824, allocations: 0 / 270.4 MB, free: 3.48 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.008284, allocations: 38.56 kB / 270.4 MB, free: 3.434 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.008285, allocations: 0 / 270.4 MB, free: 3.434 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0006014/0.008886, allocations: 149.5 kB / 270.6 MB, free: 3.281 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.008987, allocations: 106.8 kB / 270.7 MB, free: 3.152 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.009129, allocations: 130 kB / 270.8 MB, free: 3.012 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.009159, allocations: 25.7 kB / 270.8 MB, free: 2.98 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/0.009233, allocations: 92.14 kB / 270.9 MB, free: 2.887 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.00927, allocations: 11.89 kB / 270.9 MB, free: 2.875 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.00932, allocations: 17.72 kB / 271 MB, free: 2.852 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.009509, allocations: 323.1 kB / 271.3 MB, free: 2.527 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.009669, allocations: 31.97 kB / 271.3 MB, free: 2.496 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.009816, allocations: 46.55 kB / 271.4 MB, free: 2.441 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/0.01013, allocations: 82.45 kB / 271.4 MB, free: 2.352 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.01014, allocations: 4 kB / 271.4 MB, free: 2.348 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003538/0.01049, allocations: 109.5 kB / 271.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.01051, allocations: 11.94 kB / 271.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.01052, allocations: 0 / 271.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.01054, allocations: 0 / 271.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.01069, allocations: 24.06 kB / 271.6 MB, free: 2.199 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.0107, allocations: 0 / 271.6 MB, free: 2.199 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.631e-05/0.0108, allocations: 11.98 kB / 271.6 MB, free: 2.188 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.01081, allocations: 4 kB / 271.6 MB, free: 2.184 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0001253/0.01094, allocations: 121.7 kB / 271.7 MB, free: 2.055 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.01097, allocations: 7.953 kB / 271.7 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.144e-05/0.01101, allocations: 19.84 kB / 271.7 MB, free: 2.023 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.01101, allocations: 4 kB / 271.7 MB, free: 2.02 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.01102, allocations: 0 / 271.7 MB, free: 2.02 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.01102, allocations: 4 kB / 271.7 MB, free: 2.016 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.01117, allocations: 121.3 kB / 271.9 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.01117, allocations: 96 / 271.9 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.0113, allocations: 19.97 kB / 271.9 MB, free: 1.848 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.0113, allocations: 3.984 kB / 271.9 MB, free: 1.844 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.01132, allocations: 4 kB / 271.9 MB, free: 1.84 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.01132, allocations: 3.938 kB / 271.9 MB, free: 1.836 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.01132, allocations: 0 / 271.9 MB, free: 1.836 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/0.01171, allocations: 150.7 kB / 272 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/0.01173, allocations: 11.95 kB / 272.1 MB, free: 1.652 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.01175, allocations: 0 / 272.1 MB, free: 1.652 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.01186, allocations: 15.92 kB / 272.1 MB, free: 1.637 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.01192, allocations: 7.984 kB / 272.1 MB, free: 1.629 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.882e-06/0.01192, allocations: 3.938 kB / 272.1 MB, free: 1.625 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001195/0.01204, allocations: 102.5 kB / 272.2 MB, free: 1.527 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01204, allocations: 0 / 272.2 MB, free: 1.527 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002126/0.01226, allocations: 12 kB / 272.2 MB, free: 1.516 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0001127/0.01237, allocations: 91.25 kB / 272.3 MB, free: 1.418 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003385/0.01271, allocations: 79.86 kB / 272.4 MB, free: 1.34 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01271, allocations: 0 / 272.4 MB, free: 1.34 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.01287, allocations: 40.22 kB / 272.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.01304, allocations: 4 kB / 272.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005672/0.01361, allocations: 189.7 kB / 272.6 MB, free: 1.082 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.864e-05/0.0137, allocations: 71.33 kB / 272.7 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.281e-05/0.01376, allocations: 12 kB / 272.7 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.01381, allocations: 12.5 kB / 272.7 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01381, allocations: 0 / 272.7 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of Templates: time 0.004043/0.01786, allocations: 0.6145 MB / 273.3 MB, free: 364 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.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.274131751968525]