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.001483/0.001483, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.002099/0.002099, allocations: 168.4 kB / 25.61 MB, free: 8.902 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 0.9474/0.9474, allocations: 177.1 MB / 206.1 MB, free: 4.52 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.743e-06/1.743e-06, allocations: 0 / 274.2 MB, free: 4.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262e-05/1.437e-05, allocations: 2.312 kB / 274.2 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002406/0.00242, allocations: 1.531 MB / 275.7 MB, free: 2.941 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007972/0.003217, allocations: 0.4891 MB / 276.2 MB, free: 2.449 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.177e-05/0.003279, allocations: 4 kB / 276.2 MB, free: 2.445 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.065e-05/0.00331, allocations: 4.469 kB / 276.2 MB, free: 2.441 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.675e-05/0.003407, allocations: 17.23 kB / 276.2 MB, free: 2.426 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.003601, allocations: 35.89 kB / 276.3 MB, free: 2.391 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.003729, allocations: 76.28 kB / 276.3 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.278e-05/0.003772, allocations: 14.58 kB / 276.3 MB, free: 2.305 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.003972, allocations: 51.83 kB / 276.4 MB, free: 2.254 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.403e-05/0.004036, allocations: 23.97 kB / 276.4 MB, free: 2.23 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.004056, allocations: 4 kB / 276.4 MB, free: 2.227 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.283e-05/0.004109, allocations: 11.98 kB / 276.4 MB, free: 2.215 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.004131, allocations: 11.92 kB / 276.4 MB, free: 2.203 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.849e-05/0.004159, allocations: 21.83 kB / 276.5 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.004275, allocations: 51.88 kB / 276.5 MB, free: 2.133 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.004278, allocations: 0 / 276.5 MB, free: 2.133 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004278, allocations: 0 / 276.5 MB, free: 2.133 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.004282, allocations: 0 / 276.5 MB, free: 2.133 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.000444/0.004726, allocations: 408.7 kB / 276.9 MB, free: 1.699 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.004764, allocations: 20.61 kB / 276.9 MB, free: 1.68 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002416/0.005006, allocations: 36.88 kB / 277 MB, free: 1.645 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.005152, allocations: 128.5 kB / 277.1 MB, free: 1.492 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.005161, allocations: 384 / 277.1 MB, free: 1.492 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.00517, allocations: 4.375 kB / 277.1 MB, free: 1.488 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.005326, allocations: 93.97 kB / 277.2 MB, free: 1.375 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.005334, allocations: 192 / 277.2 MB, free: 1.375 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.005343, allocations: 4.125 kB / 277.2 MB, free: 1.371 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.005349, allocations: 0 / 277.2 MB, free: 1.371 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.185e-05/0.005391, allocations: 15.94 kB / 277.2 MB, free: 1.355 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.00553, allocations: 128.6 kB / 277.3 MB, free: 1.195 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.931e-05/0.005619, allocations: 85.23 kB / 277.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/0.005655, allocations: 31.12 kB / 277.5 MB, free: 1.031 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.005667, allocations: 0 / 277.5 MB, free: 1.031 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.005693, allocations: 41.33 kB / 277.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.61e-07/0.005693, allocations: 0 / 277.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001728/0.005866, allocations: 65.91 kB / 277.6 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.005915, allocations: 106.8 kB / 277.7 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.006093, allocations: 192.2 kB / 277.8 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.006107, allocations: 29.7 kB / 277.9 MB, free: 0.543 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/0.006158, allocations: 142.8 kB / 278 MB, free: 408 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.006186, allocations: 11.84 kB / 278 MB, free: 396 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.006232, allocations: 23.38 kB / 278.1 MB, free: 364 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.006377, allocations: 0.4923 MB / 278.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.113e-05/0.006398, allocations: 0 / 278.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.796e-05/0.006436, allocations: 39.03 kB / 278.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.395e-05/0.0065, allocations: 47.05 kB / 278.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006502, allocations: 0 / 278.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001106/0.006613, allocations: 61.5 kB / 278.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.006625, allocations: 8 kB / 278.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.00663, allocations: 0 / 278.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.006639, allocations: 0 / 278.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.763e-05/0.006727, allocations: 15.98 kB / 278.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.006732, allocations: 7.875 kB / 278.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.448e-05/0.006786, allocations: 16.08 kB / 278.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.006793, allocations: 0 / 278.7 MB, free: 15.63 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.86e-05/0.006872, allocations: 156.6 kB / 278.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.006892, allocations: 7.953 kB / 278.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.006918, allocations: 11.97 kB / 278.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.006921, allocations: 0 / 278.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.006923, allocations: 0 / 278.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.006929, allocations: 11.92 kB / 278.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.007035, allocations: 109.2 kB / 279 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.007037, allocations: 0 / 279 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.703e-05/0.007094, allocations: 23.92 kB / 279 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.007095, allocations: 0 / 279 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.007102, allocations: 0 / 279 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.007104, allocations: 0 / 279 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.007105, allocations: 4 kB / 279.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.00724, allocations: 107.7 kB / 279.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.377e-05/0.007253, allocations: 11.89 kB / 279.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.007271, allocations: 4 kB / 279.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.827e-05/0.007319, allocations: 7.984 kB / 279.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.007355, allocations: 3.938 kB / 279.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.007364, allocations: 15.98 kB / 279.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.564e-05/0.00742, allocations: 139.1 kB / 279.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00742, allocations: 4 kB / 279.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000222/0.007642, allocations: 8 kB / 279.3 MB, free: 14.95 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 7.847e-05/0.007721, allocations: 91.25 kB / 279.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.007834, allocations: 31.61 kB / 279.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.007835, allocations: 0 / 279.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.637e-05/0.007871, allocations: 15.67 kB / 279.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.008043, allocations: 12.38 kB / 279.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004882/0.008531, allocations: 189.4 kB / 279.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.128e-05/0.008573, allocations: 67.14 kB / 279.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.763e-05/0.00861, allocations: 4.125 kB / 279.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.162e-05/0.008672, allocations: 78.19 kB / 279.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of SimCode: time 6.22e-07/0.008673, allocations: 0 / 279.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of Templates: time 0.002286/0.01096, allocations: 0.6827 MB / 280.5 MB, free: 13.7 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.8229264901019633]