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.0009952/0.0009952, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009895/0.0009895, allocations: 161.3 kB / 24.99 MB, free: 9.273 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.976/0.976, allocations: 177.1 MB / 205.3 MB, free: 5.641 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 2.194e-06/2.194e-06, allocations: 0 / 273 MB, free: 1.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.38e-05, allocations: 6.312 kB / 273 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002127/0.00215, allocations: 1.534 MB / 274.6 MB, free: 324 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000975/0.003125, allocations: 498.8 kB / 275.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.306e-05/0.003209, allocations: 0 / 275.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.564e-05/0.003244, allocations: 3.938 kB / 275.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.003369, allocations: 23.78 kB / 275.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.00364, allocations: 35.84 kB / 275.1 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.003795, allocations: 75.7 kB / 275.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.703e-05/0.003852, allocations: 12.11 kB / 275.2 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.004088, allocations: 47.84 kB / 275.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.174e-05/0.004149, allocations: 31.89 kB / 275.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.00417, allocations: 8 kB / 275.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.003e-05/0.00423, allocations: 8 kB / 275.3 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.00425, allocations: 11.92 kB / 275.3 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.004284, allocations: 19.98 kB / 275.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.004456, allocations: 51.81 kB / 275.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.00446, allocations: 0 / 275.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004461, allocations: 0 / 275.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.004469, allocations: 0 / 275.4 MB, free: 15.5 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.0005557/0.005025, allocations: 416.2 kB / 275.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.00507, allocations: 12.03 kB / 275.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002354/0.005305, allocations: 36.81 kB / 275.8 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.005503, allocations: 116.6 kB / 276 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.005525, allocations: 4.375 kB / 276 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.00554, allocations: 4.375 kB / 276 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.005802, allocations: 93.97 kB / 276.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.005811, allocations: 192 / 276.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.005829, allocations: 8.109 kB / 276.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.005839, allocations: 4 kB / 276.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.358e-05/0.005923, allocations: 15.94 kB / 276.1 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002235/0.006146, allocations: 152 kB / 276.2 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.006294, allocations: 81.12 kB / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.034e-05/0.006364, allocations: 43.23 kB / 276.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.006387, allocations: 0 / 276.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.006427, allocations: 45.27 kB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.833e-06/0.006429, allocations: 0 / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003027/0.006731, allocations: 65.61 kB / 276.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.116e-05/0.006803, allocations: 110.8 kB / 276.6 MB, free: 14.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.006961, allocations: 187.8 kB / 276.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.00698, allocations: 25.7 kB / 276.8 MB, free: 13.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.837e-05/0.007048, allocations: 138.9 kB / 276.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.195e-05/0.00709, allocations: 7.906 kB / 276.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-05/0.007152, allocations: 31.3 kB / 277 MB, free: 13.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.007328, allocations: 0.4884 MB / 277.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-05/0.007379, allocations: 4 kB / 277.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.738e-05/0.007437, allocations: 39.42 kB / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.74e-05/0.007534, allocations: 39.06 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.007537, allocations: 0 / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001678/0.007705, allocations: 65.52 kB / 277.6 MB, free: 13 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.007728, allocations: 7.984 kB / 277.6 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.007738, allocations: 4 kB / 277.6 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.007756, allocations: 0 / 277.6 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.007895, allocations: 16.02 kB / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.007903, allocations: 8 kB / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.794e-05/0.007961, allocations: 4 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.00797, allocations: 0 / 277.6 MB, free: 12.96 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 9.93e-05/0.008069, allocations: 164.6 kB / 277.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.008096, allocations: 7.953 kB / 277.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.008131, allocations: 11.97 kB / 277.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.008134, allocations: 0 / 277.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.008142, allocations: 3.938 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.008147, allocations: 4 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.008277, allocations: 140.5 kB / 278 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.008279, allocations: 0 / 278 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.347e-05/0.008373, allocations: 19.92 kB / 278 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.008376, allocations: 0 / 278 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.008386, allocations: 0 / 278 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.008391, allocations: 4 kB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.008393, allocations: 0 / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.008575, allocations: 107.7 kB / 278.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.008593, allocations: 15.97 kB / 278.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.008613, allocations: 0 / 278.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.233e-05/0.008686, allocations: 15.98 kB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/0.00875, allocations: 19.84 kB / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.008757, allocations: 0 / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.147e-05/0.008828, allocations: 141.7 kB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008828, allocations: 0 / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002307/0.009059, allocations: 12 kB / 278.3 MB, free: 12.24 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.0001126/0.009172, allocations: 91.25 kB / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001683/0.00934, allocations: 31.61 kB / 278.4 MB, free: 12.1 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.009344, allocations: 192 / 278.4 MB, free: 12.1 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.185e-05/0.009396, allocations: 23.67 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.009609, allocations: 15.97 kB / 278.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008266/0.01044, allocations: 189.2 kB / 278.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.523e-05/0.01048, allocations: 59.34 kB / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.525e-05/0.01053, allocations: 4.188 kB / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.03e-05/0.01058, allocations: 16.48 kB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01058, allocations: 0 / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of Templates: time 0.003405/0.01398, allocations: 0.6238 MB / 279.3 MB, free: 11.11 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.896530015859753]