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.001676/0.001676, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002241/0.002241, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.456/1.456, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.001546/0.001546, allocations: 47.92 kB / 378.9 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2556, allocations: 53.37 MB / 432.3 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002915/0.2585, allocations: 1.5 MB / 433.8 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008898/0.2594, allocations: 482.7 kB / 434.3 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.03e-05/0.2595, allocations: 3.938 kB / 434.3 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.251e-05/0.2595, allocations: 3.938 kB / 434.3 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.68e-05/0.2596, allocations: 19.86 kB / 434.3 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.2598, allocations: 39.83 kB / 434.4 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.26, allocations: 63.78 kB / 434.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.93e-05/0.26, allocations: 12.17 kB / 434.4 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.2602, allocations: 47.78 kB / 434.5 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.876e-05/0.2603, allocations: 27.91 kB / 434.5 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.2603, allocations: 4 kB / 434.5 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.365e-05/0.2603, allocations: 12 kB / 434.5 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.203e-05/0.2604, allocations: 19.91 kB / 434.5 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.401e-05/0.2604, allocations: 23.86 kB / 434.6 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.2605, allocations: 66.69 kB / 434.6 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2605, allocations: 0 / 434.6 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2605, allocations: 0 / 434.6 MB, free: 4.535 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.2605, allocations: 0 / 434.6 MB, free: 4.535 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.0006722/0.2612, allocations: 318 kB / 434.9 MB, free: 4.195 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.2613, allocations: 8.031 kB / 434.9 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003387/0.2616, allocations: 36.86 kB / 435 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.2618, allocations: 130.4 kB / 435.1 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.633e-06/0.2618, allocations: 384 / 435.1 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.2618, allocations: 4.375 kB / 435.1 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.2621, allocations: 88.34 kB / 435.2 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.2621, allocations: 0 / 435.2 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.2621, allocations: 0 / 435.2 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.2621, allocations: 0 / 435.2 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000278/0.2624, allocations: 67.88 kB / 435.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001879/0.2626, allocations: 131.1 kB / 435.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.2629, allocations: 99.73 kB / 435.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.263, allocations: 50.61 kB / 435.5 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.2631, allocations: 0 / 435.5 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.2631, allocations: 42.5 kB / 435.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.2631, allocations: 0 / 435.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005635/0.2637, allocations: 137.8 kB / 435.7 MB, free: 3.289 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/0.2637, allocations: 110.8 kB / 435.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.2638, allocations: 132.5 kB / 435.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.2639, allocations: 25.7 kB / 436 MB, free: 2.988 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.587e-05/0.2639, allocations: 96.12 kB / 436.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.264, allocations: 15.83 kB / 436.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/0.264, allocations: 25.64 kB / 436.1 MB, free: 2.844 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.2642, allocations: 318.8 kB / 436.4 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.2643, allocations: 27.97 kB / 436.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.2645, allocations: 58.5 kB / 436.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.2647, allocations: 74.53 kB / 436.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2647, allocations: 4 kB / 436.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003413/0.2651, allocations: 109.5 kB / 436.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.2651, allocations: 7.938 kB / 436.7 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.2651, allocations: 7.984 kB / 436.7 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.2651, allocations: 0 / 436.7 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.2653, allocations: 19.92 kB / 436.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2653, allocations: 0 / 436.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.2654, allocations: 16.17 kB / 436.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.2654, allocations: 4 kB / 436.7 MB, free: 2.176 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.957e-05/0.2655, allocations: 113.8 kB / 436.9 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.2655, allocations: 15.88 kB / 436.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.362e-05/0.2656, allocations: 15.92 kB / 436.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2656, allocations: 0 / 436.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.2656, allocations: 8 kB / 436.9 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2656, allocations: 0 / 436.9 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.2657, allocations: 125.2 kB / 437 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2657, allocations: 0 / 437 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.2658, allocations: 19.98 kB / 437 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2658, allocations: 0 / 437 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.2658, allocations: 7.922 kB / 437 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2658, allocations: 4 kB / 437 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2659, allocations: 0 / 437 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/0.2662, allocations: 142.7 kB / 437.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.2662, allocations: 7.953 kB / 437.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.2663, allocations: 11.94 kB / 437.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.2664, allocations: 11.98 kB / 437.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.2664, allocations: 7.984 kB / 437.2 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-06/0.2664, allocations: 4 kB / 437.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.791e-05/0.2665, allocations: 98.39 kB / 437.3 MB, free: 1.527 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2665, allocations: 0 / 437.3 MB, free: 1.527 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002066/0.2667, allocations: 8 kB / 437.3 MB, free: 1.52 MB / 334.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.0001164/0.2668, allocations: 107.1 kB / 437.4 MB, free: 1.406 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003449/0.2672, allocations: 75.88 kB / 437.5 MB, free: 1.332 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2672, allocations: 0 / 437.5 MB, free: 1.332 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.2673, allocations: 39.89 kB / 437.6 MB, free: 1.293 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.2675, allocations: 8 kB / 437.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005421/0.268, allocations: 201.4 kB / 437.8 MB, free: 1.059 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.405e-05/0.2681, allocations: 71.33 kB / 437.8 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.711e-05/0.2681, allocations: 0 / 437.8 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.639e-05/0.2682, allocations: 15.42 kB / 437.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2682, allocations: 0 / 437.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of Templates: time 0.00311/0.2713, allocations: 0.6718 MB / 438.5 MB, free: 292 kB / 334.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 -s gbode -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.391069709992735]