Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 81.3 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 151.2 kB / 23.94 MB, free: 4.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 173.3 MB / 200.4 MB, free: 12.91 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.CompareSincExpSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 318.9 MB, free: 3.574 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.389e-05, allocations: 11.56 kB / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002183/0.002207, allocations: 1.456 MB / 320.4 MB, free: 2.555 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000714/0.002921, allocations: 434.3 kB / 320.8 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.4e-05/0.002965, allocations: 1.375 kB / 320.8 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.306e-05/0.002998, allocations: 5.391 kB / 320.8 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.494e-05/0.003083, allocations: 20.98 kB / 320.8 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.003238, allocations: 24.7 kB / 320.8 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.003351, allocations: 74.47 kB / 320.9 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.004e-05/0.003401, allocations: 19.11 kB / 320.9 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.00356, allocations: 41.2 kB / 321 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.753e-05/0.003628, allocations: 26.38 kB / 321 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/0.003657, allocations: 4.281 kB / 321 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.679e-05/0.003674, allocations: 4.562 kB / 321 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.204e-05/0.003696, allocations: 13.05 kB / 321 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.43e-05/0.00373, allocations: 15.31 kB / 321 MB, free: 2.152 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.003849, allocations: 60.02 kB / 321.1 MB, free: 2.125 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.003851, allocations: 0 / 321.1 MB, free: 2.125 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.003852, allocations: 0 / 321.1 MB, free: 2.125 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.003856, allocations: 4.938 kB / 321.1 MB, free: 2.121 MB / 286.1 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.0006094/0.004465, allocations: 319.9 kB / 321.4 MB, free: 1.832 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.004505, allocations: 11.11 kB / 321.4 MB, free: 1.832 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.00454, allocations: 7.266 kB / 321.4 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.402e-05/0.004624, allocations: 127.8 kB / 321.5 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.004638, allocations: 1.875 kB / 321.6 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.004655, allocations: 1.875 kB / 321.6 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.004919, allocations: 93.77 kB / 321.6 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.00493, allocations: 0 / 321.6 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.004943, allocations: 1.312 kB / 321.6 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.004949, allocations: 5.422 kB / 321.7 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003003/0.005249, allocations: 61.81 kB / 321.7 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.005405, allocations: 132.1 kB / 321.8 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.005689, allocations: 101.3 kB / 321.9 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.005845, allocations: 46.84 kB / 322 MB, free: 1.34 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.005868, allocations: 1.156 kB / 322 MB, free: 1.34 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.005891, allocations: 34.03 kB / 322 MB, free: 1.301 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.432e-06/0.005893, allocations: 3.938 kB / 322 MB, free: 1.297 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005858/0.006479, allocations: 147.5 kB / 322.2 MB, free: 1.234 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.00652, allocations: 104.6 kB / 322.3 MB, free: 1.109 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.879e-05/0.006619, allocations: 129.8 kB / 322.4 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.00663, allocations: 25.7 kB / 322.4 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.885e-05/0.006659, allocations: 88.39 kB / 322.5 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.006697, allocations: 18.92 kB / 322.5 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.006741, allocations: 16.28 kB / 322.5 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.006818, allocations: 323.7 kB / 322.9 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.006962, allocations: 29.47 kB / 322.9 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.007104, allocations: 47.66 kB / 322.9 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.007395, allocations: 87.77 kB / 323 MB, free: 464 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.007396, allocations: 0 / 323 MB, free: 464 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003281/0.007724, allocations: 110.8 kB / 323.1 MB, free: 412 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.007742, allocations: 9.734 kB / 323.1 MB, free: 408 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.007747, allocations: 1.5 kB / 323.1 MB, free: 408 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.007765, allocations: 1.25 kB / 323.1 MB, free: 408 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.007909, allocations: 22.19 kB / 323.2 MB, free: 404 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.007915, allocations: 5.406 kB / 323.2 MB, free: 400 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.872e-05/0.008014, allocations: 11.25 kB / 323.2 MB, free: 400 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.008023, allocations: 2.172 kB / 323.2 MB, free: 400 kB / 286.1 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 5.808e-05/0.008081, allocations: 113.9 kB / 323.3 MB, free: 280 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.851e-05/0.0081, allocations: 9.016 kB / 323.3 MB, free: 276 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.008128, allocations: 15.98 kB / 323.3 MB, free: 260 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.00813, allocations: 1.469 kB / 323.3 MB, free: 260 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.008136, allocations: 5.812 kB / 323.3 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.008139, allocations: 4.875 kB / 323.3 MB, free: 252 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.014e-05/0.008219, allocations: 120.1 kB / 323.4 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.008222, allocations: 2.188 kB / 323.4 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.008341, allocations: 17.56 kB / 323.5 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.008345, allocations: 6.156 kB / 323.5 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.008356, allocations: 5.891 kB / 323.5 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.00836, allocations: 5.906 kB / 323.5 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.008361, allocations: 0 / 323.5 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.008697, allocations: 146.6 kB / 323.6 MB, free: 0 / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.008729, allocations: 6.75 kB / 323.6 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.008749, allocations: 0.6094 kB / 323.6 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.008868, allocations: 13.47 kB / 323.6 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/0.008927, allocations: 5.594 kB / 323.6 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.008939, allocations: 8.188 kB / 323.7 MB, free: 15.99 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.729e-05/0.009006, allocations: 98.03 kB / 323.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.009006, allocations: 4 kB / 323.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001929/0.009199, allocations: 10.31 kB / 323.8 MB, free: 15.91 MB / 302.1 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.000115/0.009314, allocations: 99.64 kB / 323.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003379/0.009652, allocations: 70.5 kB / 323.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.009654, allocations: 0 / 323.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.009813, allocations: 43.58 kB / 324 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.009975, allocations: 11.08 kB / 324 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005204/0.0105, allocations: 184.8 kB / 324.2 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.644e-05/0.01056, allocations: 69.42 kB / 324.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.074e-05/0.01061, allocations: 12.14 kB / 324.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.834e-05/0.01066, allocations: 15.61 kB / 324.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01066, allocations: 0 / 324.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of Templates: time 0.003338/0.014, allocations: 0.6102 MB / 324.9 MB, free: 15.45 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.428981378674507]