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.001982/0.001982, allocations: 88.48 kB / 20.95 MB, free: 472 kB / 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.001603/0.001603, allocations: 149.7 kB / 24.24 MB, free: 3.512 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.49/1.49, allocations: 173.3 MB / 200.8 MB, free: 12.73 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 2.064e-06/2.064e-06, allocations: 0 / 267.3 MB, free: 10.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.916e-05/3.122e-05, allocations: 6.312 kB / 267.3 MB, free: 10.2 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002799/0.00283, allocations: 1.466 MB / 268.8 MB, free: 8.719 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008656/0.003695, allocations: 432.3 kB / 269.2 MB, free: 8.297 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.183e-05/0.003737, allocations: 3.938 kB / 269.2 MB, free: 8.293 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 3.878e-05/0.003776, allocations: 7.922 kB / 269.2 MB, free: 8.285 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 9.757e-05/0.003874, allocations: 15.86 kB / 269.2 MB, free: 8.27 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.004065, allocations: 35.78 kB / 269.2 MB, free: 8.234 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.004207, allocations: 75.7 kB / 269.3 MB, free: 8.16 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.329e-05/0.004261, allocations: 3.953 kB / 269.3 MB, free: 8.156 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.004448, allocations: 47.89 kB / 269.4 MB, free: 8.109 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.907e-05/0.004527, allocations: 27.89 kB / 269.4 MB, free: 8.082 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 3.113e-05/0.004558, allocations: 4 kB / 269.4 MB, free: 8.078 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.672e-05/0.004575, allocations: 4 kB / 269.4 MB, free: 8.074 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.004598, allocations: 8 kB / 269.4 MB, free: 8.066 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 3.805e-05/0.004636, allocations: 15.92 kB / 269.4 MB, free: 8.051 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.004776, allocations: 63.72 kB / 269.5 MB, free: 7.988 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.004778, allocations: 0 / 269.5 MB, free: 7.988 MB / 254.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.004782, allocations: 8 kB / 269.5 MB, free: 7.98 MB / 254.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.004787, allocations: 0 / 269.5 MB, free: 7.98 MB / 254.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.0007103/0.005497, allocations: 306.1 kB / 269.8 MB, free: 7.652 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.005548, allocations: 12.92 kB / 269.8 MB, free: 7.641 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.005597, allocations: 8.891 kB / 269.8 MB, free: 7.633 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.005732, allocations: 121.6 kB / 269.9 MB, free: 7.488 MB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.005745, allocations: 4.375 kB / 269.9 MB, free: 7.484 MB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.005774, allocations: 4.375 kB / 269.9 MB, free: 7.48 MB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.006038, allocations: 92.28 kB / 270 MB, free: 7.375 MB / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.006045, allocations: 0 / 270 MB, free: 7.375 MB / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.006056, allocations: 0 / 270 MB, free: 7.375 MB / 254.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.006062, allocations: 4 kB / 270 MB, free: 7.371 MB / 254.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002736/0.006336, allocations: 59.92 kB / 270.1 MB, free: 7.312 MB / 254.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/0.006529, allocations: 127.1 kB / 270.2 MB, free: 7.152 MB / 254.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.006827, allocations: 107.7 kB / 270.3 MB, free: 7.02 MB / 254.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.006988, allocations: 54.55 kB / 270.4 MB, free: 6.957 MB / 254.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.007002, allocations: 0 / 270.4 MB, free: 6.957 MB / 254.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.007031, allocations: 34.56 kB / 270.4 MB, free: 6.914 MB / 254.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.007032, allocations: 0 / 270.4 MB, free: 6.914 MB / 254.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005765/0.007608, allocations: 149.4 kB / 270.6 MB, free: 6.762 MB / 254.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/0.007684, allocations: 106.8 kB / 270.7 MB, free: 6.633 MB / 254.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.007819, allocations: 126.1 kB / 270.8 MB, free: 6.496 MB / 254.1 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.007842, allocations: 29.7 kB / 270.8 MB, free: 6.461 MB / 254.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.305e-05/0.007895, allocations: 88.14 kB / 270.9 MB, free: 6.371 MB / 254.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.007933, allocations: 20.27 kB / 270.9 MB, free: 6.352 MB / 254.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.007971, allocations: 13.72 kB / 270.9 MB, free: 6.332 MB / 254.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.008142, allocations: 322.8 kB / 271.2 MB, free: 6.008 MB / 254.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.008278, allocations: 27.97 kB / 271.3 MB, free: 5.98 MB / 254.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.008422, allocations: 46.55 kB / 271.3 MB, free: 5.926 MB / 254.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.008723, allocations: 90.45 kB / 271.4 MB, free: 5.828 MB / 254.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.008725, allocations: 0 / 271.4 MB, free: 5.828 MB / 254.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003516/0.009077, allocations: 113.5 kB / 271.5 MB, free: 5.711 MB / 254.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.009101, allocations: 11.94 kB / 271.5 MB, free: 5.699 MB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.009106, allocations: 96 / 271.5 MB, free: 5.699 MB / 254.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.009123, allocations: 4 kB / 271.5 MB, free: 5.695 MB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.009281, allocations: 19.97 kB / 271.6 MB, free: 5.676 MB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.009289, allocations: 4 kB / 271.6 MB, free: 5.672 MB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.0094, allocations: 11.92 kB / 271.6 MB, free: 5.66 MB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.009411, allocations: 4 kB / 271.6 MB, free: 5.656 MB / 254.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 0.0001065/0.009518, allocations: 113.8 kB / 271.7 MB, free: 5.535 MB / 254.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.009543, allocations: 7.953 kB / 271.7 MB, free: 5.527 MB / 254.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.795e-05/0.009581, allocations: 23.83 kB / 271.7 MB, free: 5.5 MB / 254.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.009583, allocations: 4 kB / 271.7 MB, free: 5.496 MB / 254.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.009587, allocations: 0 / 271.7 MB, free: 5.496 MB / 254.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.00959, allocations: 0 / 271.7 MB, free: 5.496 MB / 254.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.009732, allocations: 121.3 kB / 271.8 MB, free: 5.348 MB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.009733, allocations: 0 / 271.8 MB, free: 5.348 MB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.00986, allocations: 23.97 kB / 271.9 MB, free: 5.324 MB / 254.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.009864, allocations: 4 kB / 271.9 MB, free: 5.32 MB / 254.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.009875, allocations: 0 / 271.9 MB, free: 5.32 MB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.009879, allocations: 3.938 kB / 271.9 MB, free: 5.316 MB / 254.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.00988, allocations: 0 / 271.9 MB, free: 5.316 MB / 254.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004784/0.01036, allocations: 150.7 kB / 272 MB, free: 5.145 MB / 254.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.01038, allocations: 7.953 kB / 272 MB, free: 5.137 MB / 254.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.01039, allocations: 0 / 272 MB, free: 5.137 MB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.01049, allocations: 15.92 kB / 272 MB, free: 5.121 MB / 254.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/0.01056, allocations: 11.98 kB / 272.1 MB, free: 5.109 MB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.01056, allocations: 0 / 272.1 MB, free: 5.109 MB / 254.1 MB Notification: Performance of sorting global known variables: time 7.892e-05/0.01064, allocations: 98.64 kB / 272.1 MB, free: 5.016 MB / 254.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01064, allocations: 4 kB / 272.2 MB, free: 5.012 MB / 254.1 MB Notification: Performance of remove unused functions: time 0.0002078/0.01085, allocations: 12 kB / 272.2 MB, free: 5 MB / 254.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.01096, allocations: 95.25 kB / 272.3 MB, free: 4.898 MB / 254.1 MB Notification: Performance of simCode: created initialization part: time 0.000354/0.01132, allocations: 71.86 kB / 272.3 MB, free: 4.828 MB / 254.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01132, allocations: 0 / 272.3 MB, free: 4.828 MB / 254.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.01148, allocations: 40.09 kB / 272.4 MB, free: 4.789 MB / 254.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.01167, allocations: 8 kB / 272.4 MB, free: 4.781 MB / 254.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005399/0.01221, allocations: 197.6 kB / 272.6 MB, free: 4.559 MB / 254.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.2e-05/0.01228, allocations: 87.03 kB / 272.7 MB, free: 4.453 MB / 254.1 MB Notification: Performance of simCode: alias equations: time 5.883e-05/0.01234, allocations: 8.312 kB / 272.7 MB, free: 4.445 MB / 254.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/0.01238, allocations: 12.5 kB / 272.7 MB, free: 4.434 MB / 254.1 MB Notification: Performance of SimCode: time 5.51e-07/0.01239, allocations: 0 / 272.7 MB, free: 4.434 MB / 254.1 MB Notification: Performance of Templates: time 0.003174/0.01556, allocations: 0.6156 MB / 273.3 MB, free: 3.82 MB / 254.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.216557912528515]