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.001877/0.001877, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 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.001464/0.001464, allocations: 219.5 kB / 24.49 MB, free: 3.93 MB / 14.72 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.453/1.453, allocations: 230.6 MB / 258.3 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001574/0.001574, allocations: 43.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2307, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.003234/0.234, allocations: 1.488 MB / 433.8 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.2351, allocations: 482.8 kB / 434.3 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.722e-05/0.2352, allocations: 3.938 kB / 434.3 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.51e-05/0.2352, allocations: 7.875 kB / 434.3 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.2353, allocations: 19.84 kB / 434.3 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.2356, allocations: 35.84 kB / 434.4 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.2357, allocations: 75.69 kB / 434.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.693e-05/0.2358, allocations: 8.188 kB / 434.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.236, allocations: 43.86 kB / 434.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.898e-05/0.2361, allocations: 35.83 kB / 434.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.2361, allocations: 4 kB / 434.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.912e-05/0.2361, allocations: 12 kB / 434.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.296e-05/0.2362, allocations: 15.92 kB / 434.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.2362, allocations: 19.86 kB / 434.6 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.2364, allocations: 67.25 kB / 434.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2364, allocations: 0 / 434.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2364, allocations: 0 / 434.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.2364, allocations: 0 / 434.6 MB, free: 4.418 MB / 334.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.0007006/0.2371, allocations: 321.2 kB / 434.9 MB, free: 4.078 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.2371, allocations: 8.031 kB / 435 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003591/0.2375, allocations: 32.86 kB / 435 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.2377, allocations: 134.3 kB / 435.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.2377, allocations: 384 / 435.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.2378, allocations: 4.375 kB / 435.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.2381, allocations: 92.34 kB / 435.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2381, allocations: 3.984 kB / 435.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.2381, allocations: 0 / 435.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2381, allocations: 0 / 435.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002943/0.2384, allocations: 63.88 kB / 435.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002013/0.2386, allocations: 135.1 kB / 435.4 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.2389, allocations: 99.75 kB / 435.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.2391, allocations: 46.61 kB / 435.6 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.2391, allocations: 0 / 435.6 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.2391, allocations: 42.5 kB / 435.6 MB, free: 3.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2391, allocations: 0 / 435.6 MB, free: 3.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005636/0.2397, allocations: 137.5 kB / 435.7 MB, free: 3.168 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.2397, allocations: 106.8 kB / 435.8 MB, free: 3.039 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.2399, allocations: 132.6 kB / 436 MB, free: 2.902 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.2399, allocations: 25.7 kB / 436 MB, free: 2.871 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/0.2399, allocations: 96.12 kB / 436.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.24, allocations: 12.22 kB / 436.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.24, allocations: 25.7 kB / 436.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.2402, allocations: 318.8 kB / 436.4 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.2403, allocations: 27.97 kB / 436.5 MB, free: 2.383 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.2405, allocations: 50.53 kB / 436.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.2408, allocations: 90.39 kB / 436.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.2408, allocations: 4 kB / 436.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003438/0.2411, allocations: 109.5 kB / 436.7 MB, free: 2.109 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2411, allocations: 7.938 kB / 436.7 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.2411, allocations: 4 kB / 436.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.2411, allocations: 4.094 kB / 436.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.2413, allocations: 15.98 kB / 436.7 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.2413, allocations: 7.938 kB / 436.7 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.2414, allocations: 11.98 kB / 436.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.2414, allocations: 7.984 kB / 436.8 MB, free: 2.051 MB / 334.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 9.219e-05/0.2415, allocations: 109.8 kB / 436.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.2416, allocations: 11.89 kB / 436.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/0.2416, allocations: 15.92 kB / 436.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.2416, allocations: 4 kB / 436.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2416, allocations: 4 kB / 436.9 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.671e-05/0.2416, allocations: 7.938 kB / 436.9 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.2416, allocations: 8 kB / 436.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.2417, allocations: 7.984 kB / 436.9 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.2418, allocations: 4 kB / 436.9 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005329/0.2423, allocations: 355.3 kB / 437.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004782/0.2428, allocations: 433.2 kB / 437.7 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001607/0.243, allocations: 35.95 kB / 437.7 MB, free: 1.035 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.081e-05/0.243, allocations: 99.33 kB / 437.8 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of Backend: time 7.91e-07/0.243, allocations: 8 kB / 437.8 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006884/0.2437, allocations: 113.3 kB / 438 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006493/0.2444, allocations: 0.6097 MB / 438.6 MB, free: 164 kB / 334.1 MB Notification: Performance of Templates: time 0.00395/0.2483, allocations: 1.076 MB / 439.6 MB, free: 15.09 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.369487541000126]