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.001047/0.001047, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001137/0.001137, allocations: 169.9 kB / 24.82 MB, free: 9.312 MB / 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.053/1.053, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.543e-06/1.543e-06, allocations: 0 / 273.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.503e-05, allocations: 6.25 kB / 273.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.005592/0.005617, allocations: 1.542 MB / 274.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007925/0.006409, allocations: 490.6 kB / 275.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.464e-05/0.006474, allocations: 0 / 275.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/0.006504, allocations: 3.938 kB / 275.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.328e-05/0.006598, allocations: 27.78 kB / 275.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.006791, allocations: 35.89 kB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.006904, allocations: 75.59 kB / 275.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.006948, allocations: 12.12 kB / 275.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003258/0.01021, allocations: 47.88 kB / 275.6 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.398e-05/0.01027, allocations: 27.91 kB / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.01029, allocations: 4 kB / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.393e-05/0.01034, allocations: 12 kB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.01036, allocations: 11.98 kB / 275.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.589e-05/0.01038, allocations: 19.92 kB / 275.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.01052, allocations: 63.73 kB / 275.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.01053, allocations: 0 / 275.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01053, allocations: 0 / 275.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.01053, allocations: 0 / 275.7 MB, free: 14.95 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.0004313/0.01096, allocations: 404.3 kB / 276.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.01101, allocations: 8.031 kB / 276.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002198/0.01123, allocations: 40.86 kB / 276.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.01136, allocations: 120.6 kB / 276.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.01137, allocations: 4.375 kB / 276.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.01138, allocations: 384 / 276.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.01153, allocations: 89.98 kB / 276.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.01154, allocations: 4.125 kB / 276.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.577e-06/0.01155, allocations: 8.125 kB / 276.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.01155, allocations: 0 / 276.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.461e-05/0.01159, allocations: 7.984 kB / 276.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001336/0.01172, allocations: 136.6 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.454e-05/0.01181, allocations: 89.12 kB / 276.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.498e-05/0.01185, allocations: 39.19 kB / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.01187, allocations: 4 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.01189, allocations: 37.38 kB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.01189, allocations: 4 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001704/0.01206, allocations: 65.55 kB / 276.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.0121, allocations: 107.1 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.027e-05/0.01219, allocations: 192 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.0122, allocations: 29.7 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.327e-05/0.01225, allocations: 134.9 kB / 277.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.01228, allocations: 19.88 kB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.01232, allocations: 23.38 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.01244, allocations: 0.4884 MB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.921e-05/0.01247, allocations: 4 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.387e-05/0.0125, allocations: 31.05 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.024e-05/0.01256, allocations: 43 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.01256, allocations: 0 / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001032/0.01266, allocations: 61.56 kB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.01268, allocations: 4 kB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.01268, allocations: 0 / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.01269, allocations: 4 kB / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.088e-05/0.01278, allocations: 11.98 kB / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.01279, allocations: 3.938 kB / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.408e-05/0.01283, allocations: 12.09 kB / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.01284, allocations: 7.984 kB / 277.9 MB, free: 12.46 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 0.0001242/0.01296, allocations: 156.6 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.01299, allocations: 7.953 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.01303, allocations: 11.97 kB / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.01303, allocations: 3.938 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.01303, allocations: 0 / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.01304, allocations: 3.938 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.01315, allocations: 117.2 kB / 278.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.01316, allocations: 0 / 278.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.197e-05/0.01325, allocations: 15.98 kB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.01326, allocations: 11.98 kB / 278.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.01326, allocations: 0 / 278.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.01327, allocations: 0 / 278.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.01327, allocations: 3.984 kB / 278.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.01344, allocations: 115.7 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.496e-05/0.01345, allocations: 11.89 kB / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.01347, allocations: 0 / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.893e-05/0.01352, allocations: 7.938 kB / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.01355, allocations: 7.984 kB / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.01356, allocations: 8 kB / 278.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.114e-05/0.01362, allocations: 145.9 kB / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01362, allocations: 0 / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002043/0.01383, allocations: 12 kB / 278.6 MB, free: 11.77 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 0.0001354/0.01396, allocations: 87.25 kB / 278.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001317/0.01409, allocations: 35.59 kB / 278.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.0141, allocations: 0 / 278.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.004e-05/0.01414, allocations: 23.75 kB / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.01436, allocations: 8.375 kB / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006259/0.01498, allocations: 189.3 kB / 278.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.102e-05/0.01503, allocations: 63.28 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.001e-05/0.01507, allocations: 4 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.903e-05/0.01514, allocations: 74.2 kB / 279 MB, free: 11.21 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01514, allocations: 0 / 279 MB, free: 11.21 MB / 266.7 MB Notification: Performance of Templates: time 0.002786/0.01793, allocations: 0.6747 MB / 279.7 MB, free: 10.54 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: 2.7228933684527874]