Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.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.001063/0.001063, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001764/0.001764, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.031/1.031, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(Modelica.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Blocks.Examples.CompareSincExpSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.738e-05, allocations: 2.312 kB / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002075/0.002102, allocations: 1.534 MB / 274.5 MB, free: 16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007769/0.002879, allocations: 494.6 kB / 275 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.135e-05/0.002941, allocations: 4 kB / 275 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.792e-05/0.002979, allocations: 7.922 kB / 275 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.003081, allocations: 11.81 kB / 275 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.003335, allocations: 51.75 kB / 275.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.003474, allocations: 71.72 kB / 275.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.607e-05/0.00353, allocations: 192 / 275.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002402/0.00377, allocations: 55.81 kB / 275.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.268e-05/0.003833, allocations: 27.91 kB / 275.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.003856, allocations: 4 kB / 275.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.753e-05/0.003914, allocations: 12 kB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.103e-05/0.003935, allocations: 15.91 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.003966, allocations: 12 kB / 275.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.004113, allocations: 55.8 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.004116, allocations: 4 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004117, allocations: 0 / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.004123, allocations: 0 / 275.3 MB, free: 15.18 MB / 266.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.0005035/0.004627, allocations: 408.3 kB / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.004678, allocations: 12.03 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002107/0.004889, allocations: 32.86 kB / 275.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.005051, allocations: 132.4 kB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.005061, allocations: 384 / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.005074, allocations: 4.375 kB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.005265, allocations: 93.98 kB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.005277, allocations: 4.172 kB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.005292, allocations: 4.125 kB / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.005301, allocations: 0 / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.511e-05/0.005357, allocations: 15.92 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.005516, allocations: 148 kB / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.005621, allocations: 93.23 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.23e-05/0.005663, allocations: 31.12 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.005683, allocations: 4 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.00571, allocations: 49.27 kB / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.005711, allocations: 0 / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002045/0.005915, allocations: 61.61 kB / 276.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.005962, allocations: 110.8 kB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.916e-05/0.006061, allocations: 183.8 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.006074, allocations: 25.7 kB / 276.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.006123, allocations: 142.9 kB / 276.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.006157, allocations: 16.28 kB / 276.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.006292, allocations: 27.36 kB / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.006409, allocations: 496.1 kB / 277.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.996e-05/0.006439, allocations: 7.984 kB / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.335e-05/0.006472, allocations: 31 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.181e-05/0.006534, allocations: 43.06 kB / 277.4 MB, free: 12.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.006536, allocations: 0 / 277.4 MB, free: 12.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.905e-05/0.006635, allocations: 61.66 kB / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.006649, allocations: 12 kB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.006656, allocations: 3.984 kB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.006672, allocations: 0 / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.006773, allocations: 27.86 kB / 277.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.00678, allocations: 0 / 277.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.369e-05/0.006813, allocations: 7.984 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.006821, allocations: 4 kB / 277.6 MB, free: 12.64 MB / 266.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 7.213e-05/0.006893, allocations: 152.6 kB / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.006907, allocations: 7.953 kB / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.006936, allocations: 19.95 kB / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.006938, allocations: 0 / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.006947, allocations: 7.938 kB / 277.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.006951, allocations: 0 / 277.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.345e-05/0.007034, allocations: 132.5 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.007038, allocations: 4 kB / 277.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.689e-05/0.007075, allocations: 11.98 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.007076, allocations: 0 / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.007087, allocations: 7.984 kB / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.007088, allocations: 3.938 kB / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007089, allocations: 0 / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.007206, allocations: 111.8 kB / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.206e-05/0.007218, allocations: 19.91 kB / 278 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.007231, allocations: 0 / 278 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.892e-05/0.00726, allocations: 4 kB / 278 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.007313, allocations: 11.92 kB / 278 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.007318, allocations: 4 kB / 278 MB, free: 12.08 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.83e-05/0.007377, allocations: 146 kB / 278.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007377, allocations: 7.938 kB / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001469/0.007524, allocations: 8 kB / 278.2 MB, free: 11.92 MB / 266.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 8.935e-05/0.007613, allocations: 95.25 kB / 278.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001421/0.007755, allocations: 31.61 kB / 278.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.007757, allocations: 0 / 278.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.254e-05/0.007789, allocations: 19.67 kB / 278.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.007952, allocations: 8 kB / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006642/0.008616, allocations: 193.6 kB / 278.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.826e-05/0.008654, allocations: 59.34 kB / 278.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.806e-05/0.008682, allocations: 4 kB / 278.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.381e-05/0.008726, allocations: 12.5 kB / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of SimCode: time 8.41e-07/0.008727, allocations: 0 / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of Templates: time 0.002343/0.01107, allocations: 0.6276 MB / 279.2 MB, free: 10.8 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.032258173916489]