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.001087/0.001087, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001088/0.001088, allocations: 168.8 kB / 24.91 MB, free: 9.199 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.9846/0.9846, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.503e-06/1.503e-06, allocations: 0 / 273.4 MB, free: 1.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.26e-05/1.411e-05, allocations: 2.312 kB / 273.4 MB, free: 1.332 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002185/0.002199, allocations: 1.54 MB / 275 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007306/0.00293, allocations: 0.4908 MB / 275.5 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.533e-05/0.002975, allocations: 7.938 kB / 275.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.21e-05/0.002997, allocations: 3.938 kB / 275.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.491e-05/0.003072, allocations: 19.78 kB / 275.5 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000149/0.003221, allocations: 43.89 kB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.252e-05/0.003314, allocations: 71.66 kB / 275.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.004e-05/0.003344, allocations: 8.109 kB / 275.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.003468, allocations: 47.89 kB / 275.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.141e-05/0.00351, allocations: 31.84 kB / 275.7 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.003523, allocations: 4 kB / 275.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.819e-05/0.003561, allocations: 12 kB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.003573, allocations: 7.984 kB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.893e-05/0.003592, allocations: 23.91 kB / 275.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.377e-05/0.003676, allocations: 51.81 kB / 275.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.382e-06/0.003677, allocations: 4 kB / 275.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003678, allocations: 4 kB / 275.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.495e-06/0.00368, allocations: 0 / 275.8 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.0002681/0.003949, allocations: 284.6 kB / 276.1 MB, free: 14.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.634e-05/0.003975, allocations: 8.031 kB / 276.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.004114, allocations: 28.91 kB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.772e-05/0.004212, allocations: 125.7 kB / 276.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-06/0.004218, allocations: 4.375 kB / 276.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.004226, allocations: 4.375 kB / 276.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.00433, allocations: 93.41 kB / 276.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.418e-06/0.004334, allocations: 192 / 276.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.004341, allocations: 4.125 kB / 276.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.004345, allocations: 0 / 276.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.826e-05/0.004373, allocations: 11.94 kB / 276.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.139e-05/0.004445, allocations: 78.7 kB / 276.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.763e-05/0.004502, allocations: 59.89 kB / 276.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.978e-05/0.004532, allocations: 34.64 kB / 276.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.004543, allocations: 3.984 kB / 276.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.004559, allocations: 34.56 kB / 276.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.00456, allocations: 0 / 276.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001019/0.004662, allocations: 57.55 kB / 276.6 MB, free: 14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.004702, allocations: 110.8 kB / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.713e-05/0.00476, allocations: 136.2 kB / 276.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.00477, allocations: 25.7 kB / 276.9 MB, free: 13.69 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.272e-05/0.004793, allocations: 92.11 kB / 277 MB, free: 13.6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.004814, allocations: 12.28 kB / 277 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.00484, allocations: 29.69 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.458e-05/0.004904, allocations: 314.8 kB / 277.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.492e-05/0.004919, allocations: 7.984 kB / 277.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.907e-05/0.004938, allocations: 18.58 kB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.948e-05/0.004978, allocations: 34.5 kB / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.004979, allocations: 0 / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.452e-05/0.005034, allocations: 53.67 kB / 277.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.046e-06/0.005042, allocations: 8 kB / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-06/0.005044, allocations: 0 / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.845e-06/0.005052, allocations: 0 / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.929e-05/0.005112, allocations: 15.98 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.005114, allocations: 3.984 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.027e-05/0.005145, allocations: 11.94 kB / 277.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.005151, allocations: 11.92 kB / 277.5 MB, free: 13.05 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 4.436e-05/0.005195, allocations: 105.8 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.706e-06/0.005204, allocations: 4 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.842e-05/0.005222, allocations: 19.98 kB / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.005223, allocations: 0 / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.005226, allocations: 4 kB / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.005229, allocations: 3.938 kB / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.348e-05/0.005282, allocations: 73.88 kB / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.005284, allocations: 4 kB / 277.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.079e-05/0.005314, allocations: 11.98 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.11e-07/0.005315, allocations: 0 / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-06/0.00532, allocations: 0 / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.00532, allocations: 4 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.005321, allocations: 4 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.532e-05/0.005386, allocations: 90.7 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-06/0.005396, allocations: 19.88 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-06/0.005405, allocations: 0 / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.88e-05/0.005434, allocations: 11.98 kB / 277.8 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.622e-05/0.00546, allocations: 11.92 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.005463, allocations: 4 kB / 277.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.459e-05/0.005478, allocations: 19.34 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005478, allocations: 0 / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 9.344e-05/0.005571, allocations: 15.94 kB / 277.9 MB, free: 12.6 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 5.346e-05/0.005625, allocations: 76.42 kB / 277.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.903e-05/0.005684, allocations: 28.78 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.005686, allocations: 0 / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.2e-05/0.005708, allocations: 24.77 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.012e-05/0.005768, allocations: 8 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003373/0.006105, allocations: 182.3 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.556e-05/0.006131, allocations: 59.34 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.388e-05/0.006154, allocations: 8.125 kB / 278.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.006195, allocations: 55.36 kB / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of SimCode: time 8.11e-07/0.006196, allocations: 0 / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of Templates: time 0.001643/0.007839, allocations: 0.5772 MB / 278.9 MB, free: 11.52 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.5403115581721067]