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.001325/0.001325, allocations: 83.59 kB / 21.18 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.004763/0.004763, allocations: 165 kB / 24.56 MB, free: 12 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.04/1.04, allocations: 177.1 MB / 205 MB, free: 5.609 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.603e-06/1.603e-06, allocations: 0 / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.758e-05, allocations: 2.312 kB / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.0021/0.002128, allocations: 1.538 MB / 274.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007357/0.002863, allocations: 498.4 kB / 275 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.031e-05/0.002934, allocations: 0 / 275 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.238e-05/0.002966, allocations: 11.92 kB / 275 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.003071, allocations: 23.8 kB / 275 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.0033, allocations: 39.88 kB / 275.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000129/0.003429, allocations: 71.66 kB / 275.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.999e-05/0.003479, allocations: 8.125 kB / 275.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.003656, allocations: 47.83 kB / 275.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.083e-05/0.003707, allocations: 23.97 kB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.003725, allocations: 4 kB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.625e-05/0.003772, allocations: 15.98 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.003788, allocations: 15.94 kB / 275.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.003816, allocations: 19.91 kB / 275.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.003936, allocations: 51.88 kB / 275.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003938, allocations: 0 / 275.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.003939, allocations: 0 / 275.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.003943, allocations: 0 / 275.3 MB, free: 15.17 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.0004191/0.004362, allocations: 412.3 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.004405, allocations: 8.031 kB / 275.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.004603, allocations: 36.86 kB / 275.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.004737, allocations: 124.5 kB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.004746, allocations: 4.375 kB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.004756, allocations: 4.375 kB / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.004913, allocations: 89.92 kB / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.004919, allocations: 192 / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.004933, allocations: 12.12 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.004938, allocations: 0 / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.545e-05/0.004984, allocations: 19.91 kB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001236/0.005108, allocations: 152 kB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.98e-05/0.005187, allocations: 85.17 kB / 276.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.714e-05/0.005224, allocations: 35.19 kB / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.005237, allocations: 4 kB / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.005255, allocations: 33.39 kB / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.005256, allocations: 0 / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001803/0.005437, allocations: 73.89 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.005479, allocations: 110.8 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.963e-05/0.005569, allocations: 187.8 kB / 276.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.005579, allocations: 25.7 kB / 276.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/0.005621, allocations: 142.9 kB / 276.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.005647, allocations: 7.906 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.005676, allocations: 23.38 kB / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.005783, allocations: 0.4923 MB / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.388e-05/0.005807, allocations: 0 / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.013e-05/0.005837, allocations: 31.05 kB / 277.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.759e-05/0.005894, allocations: 51 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.005896, allocations: 0 / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.408e-05/0.00598, allocations: 65.56 kB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.005992, allocations: 4 kB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.005996, allocations: 0 / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.006009, allocations: 4 kB / 277.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.079e-05/0.00609, allocations: 15.92 kB / 277.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.006095, allocations: 3.938 kB / 277.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.411e-05/0.006129, allocations: 16.08 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.006135, allocations: 0 / 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 6.164e-05/0.006197, allocations: 160.6 kB / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.006209, allocations: 7.953 kB / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.424e-05/0.006233, allocations: 19.89 kB / 277.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.006235, allocations: 0 / 277.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.738e-06/0.006238, allocations: 3.938 kB / 277.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.006241, allocations: 0 / 277.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.051e-05/0.006332, allocations: 136.6 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.006332, allocations: 0 / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.741e-05/0.00637, allocations: 15.98 kB / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.006371, allocations: 4 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.00638, allocations: 3.984 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.00638, allocations: 0 / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.006382, allocations: 4 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.66e-05/0.006479, allocations: 103.7 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.008e-05/0.006489, allocations: 15.88 kB / 278 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.006502, allocations: 8 kB / 278 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.863e-05/0.006531, allocations: 4 kB / 278 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.006571, allocations: 7.922 kB / 278 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.006574, allocations: 8 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.519e-05/0.006649, allocations: 142 kB / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006649, allocations: 0 / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001296/0.006779, allocations: 12 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 6.11e-05/0.00684, allocations: 99.17 kB / 278.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000101/0.006941, allocations: 27.8 kB / 278.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.006942, allocations: 0 / 278.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.074e-05/0.006973, allocations: 27.92 kB / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001189/0.007092, allocations: 12.05 kB / 278.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000459/0.007551, allocations: 193.2 kB / 278.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.037e-05/0.007581, allocations: 59.36 kB / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.514e-05/0.007607, allocations: 3.984 kB / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.007644, allocations: 16.5 kB / 278.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.007645, allocations: 0 / 278.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of Templates: time 0.002131/0.009776, allocations: 0.6498 MB / 279.3 MB, free: 10.77 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.8223182260990143]