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.001496/0.001496, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001677/0.001677, allocations: 169.3 kB / 24.27 MB, free: 144 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.549/1.549, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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 1.724e-06/1.724e-06, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.144e-05/3.316e-05, allocations: 2.312 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.003618/0.003651, allocations: 1.498 MB / 273.8 MB, free: 332 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.004947, allocations: 478.7 kB / 274.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.868e-05/0.005035, allocations: 0 / 274.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.186e-05/0.005077, allocations: 3.938 kB / 274.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.005218, allocations: 23.73 kB / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.005537, allocations: 43.89 kB / 274.3 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.005744, allocations: 71.66 kB / 274.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.384e-05/0.005798, allocations: 4.172 kB / 274.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.006066, allocations: 51.83 kB / 274.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.85e-05/0.006154, allocations: 23.97 kB / 274.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.006177, allocations: 7.938 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.612e-05/0.006243, allocations: 8 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.385e-05/0.006277, allocations: 19.97 kB / 274.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.054e-05/0.006327, allocations: 15.92 kB / 274.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.006537, allocations: 75.72 kB / 274.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.006541, allocations: 0 / 274.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.006542, allocations: 0 / 274.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.006548, allocations: 0 / 274.6 MB, free: 15.51 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.0007539/0.007301, allocations: 318 kB / 274.9 MB, free: 15.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/0.007359, allocations: 8.031 kB / 274.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000377/0.007736, allocations: 36.86 kB / 275 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.008104, allocations: 125.7 kB / 275.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.008115, allocations: 4.375 kB / 275.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.008128, allocations: 384 / 275.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.008433, allocations: 92.72 kB / 275.2 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.008443, allocations: 192 / 275.2 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.008459, allocations: 4.125 kB / 275.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.008464, allocations: 0 / 275.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002904/0.008755, allocations: 59.94 kB / 275.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002852/0.00904, allocations: 127.1 kB / 275.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003609/0.009401, allocations: 103.7 kB / 275.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.009577, allocations: 46.55 kB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/0.009612, allocations: 12 kB / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.994e-05/0.009662, allocations: 30.56 kB / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.009663, allocations: 0 / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0006908/0.01035, allocations: 141.5 kB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000412/0.01077, allocations: 115.1 kB / 275.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.01097, allocations: 131.5 kB / 275.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.011, allocations: 25.7 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.058e-05/0.01109, allocations: 96.12 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.368e-05/0.01116, allocations: 19.83 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.01126, allocations: 13.72 kB / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002448/0.0115, allocations: 322.8 kB / 276.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.01165, allocations: 27.97 kB / 276.4 MB, free: 13.47 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.0118, allocations: 46.55 kB / 276.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/0.01213, allocations: 86.45 kB / 276.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01213, allocations: 3.938 kB / 276.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004027/0.01253, allocations: 117.5 kB / 276.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.01256, allocations: 8 kB / 276.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.01257, allocations: 0 / 276.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.309e-05/0.01261, allocations: 3.938 kB / 276.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.0128, allocations: 23.97 kB / 276.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.01281, allocations: 0 / 276.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.01293, allocations: 12.08 kB / 276.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.01294, allocations: 4 kB / 276.7 MB, free: 13.15 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 0.0001732/0.01312, allocations: 117.9 kB / 276.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.01316, allocations: 15.88 kB / 276.9 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.773e-05/0.0132, allocations: 11.95 kB / 276.9 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/0.0132, allocations: 7.938 kB / 276.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.01321, allocations: 0 / 276.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01321, allocations: 0 / 276.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.0134, allocations: 117.3 kB / 277 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.0134, allocations: 0 / 277 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.01353, allocations: 19.97 kB / 277 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.01353, allocations: 4 kB / 277 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.01354, allocations: 4 kB / 277 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.01354, allocations: 0 / 277 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.01355, allocations: 3.938 kB / 277 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.01393, allocations: 146.7 kB / 277.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.971e-05/0.01395, allocations: 7.953 kB / 277.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.01397, allocations: 0 / 277.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.01409, allocations: 15.98 kB / 277.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.01415, allocations: 15.92 kB / 277.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.01416, allocations: 0 / 277.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.635e-05/0.01426, allocations: 101.9 kB / 277.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01426, allocations: 0 / 277.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000216/0.01447, allocations: 12 kB / 277.3 MB, free: 12.5 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 0.0001392/0.01461, allocations: 95.19 kB / 277.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003581/0.01497, allocations: 75.86 kB / 277.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01497, allocations: 0 / 277.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.01513, allocations: 43.91 kB / 277.5 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.01533, allocations: 7.984 kB / 277.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006264/0.01596, allocations: 194.3 kB / 277.7 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.229e-05/0.01605, allocations: 71.58 kB / 277.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.994e-05/0.0161, allocations: 4 kB / 277.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.189e-05/0.01615, allocations: 12.48 kB / 277.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01615, allocations: 0 / 277.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of Templates: time 0.003246/0.0194, allocations: 0.6248 MB / 278.4 MB, free: 11.32 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=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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins/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.482597763068043]