Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine") translateModel(Modelica.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001446/0.001446, allocations: 200.1 kB / 17.43 MB, free: 4.242 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 229.5 MB / 247.7 MB, free: 6.32 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007644/0.0007645, allocations: 91.69 kB / 299.9 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.000344, allocations: 8 kB / 360.6 MB, free: 8.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3573, allocations: 51.41 MB / 412 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.001713/0.359, allocations: 1.207 MB / 413.3 MB, free: 24.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008891/0.3599, allocations: 0.676 MB / 413.9 MB, free: 23.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.644e-05/0.36, allocations: 0.5938 kB / 413.9 MB, free: 23.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.172e-05/0.36, allocations: 5.688 kB / 413.9 MB, free: 23.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.3602, allocations: 23.78 kB / 414 MB, free: 23.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.3603, allocations: 23.97 kB / 414 MB, free: 23.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.3605, allocations: 73.66 kB / 414.1 MB, free: 23.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.969e-05/0.3605, allocations: 7.984 kB / 414.1 MB, free: 23.83 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.3607, allocations: 27.92 kB / 414.1 MB, free: 23.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.504e-05/0.3608, allocations: 35.25 kB / 414.1 MB, free: 23.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.3609, allocations: 4 kB / 414.1 MB, free: 23.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.011e-05/0.3609, allocations: 12 kB / 414.1 MB, free: 23.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.361, allocations: 7.922 kB / 414.1 MB, free: 23.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.736e-05/0.361, allocations: 49.58 kB / 414.2 MB, free: 23.69 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.3612, allocations: 55.78 kB / 414.2 MB, free: 23.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.3612, allocations: 0 / 414.2 MB, free: 23.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.3612, allocations: 0 / 414.2 MB, free: 23.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.3612, allocations: 0 / 414.2 MB, free: 23.64 MB / 298.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.0006802/0.3619, allocations: 396.7 kB / 414.6 MB, free: 23.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.362, allocations: 12.03 kB / 414.6 MB, free: 23.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003604/0.3623, allocations: 44.81 kB / 414.7 MB, free: 23.15 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.3625, allocations: 176.2 kB / 414.9 MB, free: 22.94 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.3625, allocations: 4.375 kB / 414.9 MB, free: 22.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/0.3626, allocations: 384 / 414.9 MB, free: 22.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.3629, allocations: 100.5 kB / 415 MB, free: 22.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3629, allocations: 0 / 415 MB, free: 22.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.3629, allocations: 0 / 415 MB, free: 22.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.3629, allocations: 0 / 415 MB, free: 22.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.3633, allocations: 87.81 kB / 415.1 MB, free: 22.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002037/0.3635, allocations: 187.4 kB / 415.2 MB, free: 22.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.3638, allocations: 107.8 kB / 415.3 MB, free: 22.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.364, allocations: 66.59 kB / 415.4 MB, free: 22.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.364, allocations: 0 / 415.4 MB, free: 22.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.364, allocations: 42.44 kB / 415.4 MB, free: 22.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.364, allocations: 0 / 415.4 MB, free: 22.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0006346/0.3647, allocations: 169.7 kB / 415.6 MB, free: 22.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.3647, allocations: 102.8 kB / 415.7 MB, free: 21.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.263e-05/0.3648, allocations: 130 kB / 415.8 MB, free: 21.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.3649, allocations: 29.7 kB / 415.9 MB, free: 21.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.107e-05/0.3649, allocations: 88.14 kB / 416 MB, free: 21.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.3649, allocations: 15.91 kB / 416 MB, free: 21.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-06/0.365, allocations: 0 / 416 MB, free: 21.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.335e-05/0.365, allocations: 326.8 kB / 416.3 MB, free: 21.33 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.3652, allocations: 35.97 kB / 416.3 MB, free: 21.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.3654, allocations: 54.55 kB / 416.4 MB, free: 21.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.3657, allocations: 94.52 kB / 416.5 MB, free: 21.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3657, allocations: 3.938 kB / 416.5 MB, free: 21.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003811/0.3661, allocations: 133.5 kB / 416.6 MB, free: 20.99 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3661, allocations: 7.938 kB / 416.6 MB, free: 20.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3661, allocations: 3.938 kB / 416.6 MB, free: 20.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.3662, allocations: 4.094 kB / 416.6 MB, free: 20.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.3663, allocations: 23.97 kB / 416.6 MB, free: 20.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.3663, allocations: 4 kB / 416.6 MB, free: 20.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.3665, allocations: 15.98 kB / 416.7 MB, free: 20.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.3665, allocations: 4 kB / 416.7 MB, free: 20.93 MB / 298.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 8.587e-05/0.3666, allocations: 125.7 kB / 416.8 MB, free: 20.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.3666, allocations: 15.83 kB / 416.8 MB, free: 20.78 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.3667, allocations: 7.875 kB / 416.8 MB, free: 20.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.3667, allocations: 4 kB / 416.8 MB, free: 20.76 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3667, allocations: 0 / 416.8 MB, free: 20.76 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3667, allocations: 96 / 416.8 MB, free: 20.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.3668, allocations: 177.6 kB / 417 MB, free: 20.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3668, allocations: 3.984 kB / 417 MB, free: 20.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.367, allocations: 23.97 kB / 417 MB, free: 20.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.367, allocations: 11.88 kB / 417 MB, free: 20.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.367, allocations: 4 kB / 417 MB, free: 20.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.367, allocations: 3.938 kB / 417 MB, free: 20.49 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.367, allocations: 0 / 417 MB, free: 20.49 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003867/0.3674, allocations: 154.7 kB / 417.2 MB, free: 20.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/0.3675, allocations: 89.03 kB / 417.3 MB, free: 20.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.3675, allocations: 0 / 417.3 MB, free: 20.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.3676, allocations: 19.98 kB / 417.3 MB, free: 20.19 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/0.3677, allocations: 4 kB / 417.3 MB, free: 20.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.3677, allocations: 7.984 kB / 417.3 MB, free: 20.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.598e-05/0.3678, allocations: 95.27 kB / 417.4 MB, free: 20.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3678, allocations: 3.938 kB / 417.4 MB, free: 20.08 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002772/0.3681, allocations: 12 kB / 417.4 MB, free: 20.07 MB / 298.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.0001107/0.3682, allocations: 103.2 kB / 417.5 MB, free: 19.96 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003797/0.3686, allocations: 88.05 kB / 417.6 MB, free: 19.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3686, allocations: 0 / 417.6 MB, free: 19.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.3688, allocations: 43.91 kB / 417.6 MB, free: 19.83 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.369, allocations: 11.94 kB / 417.7 MB, free: 19.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005195/0.3695, allocations: 225.3 kB / 417.9 MB, free: 19.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/0.3697, allocations: 0.6888 MB / 418.6 MB, free: 18.86 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.831e-05/0.3698, allocations: 0 / 418.6 MB, free: 18.86 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.3698, allocations: 15.42 kB / 418.6 MB, free: 18.84 MB / 298.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3698, allocations: 3.938 kB / 418.6 MB, free: 18.84 MB / 298.7 MB Notification: Performance of Templates: time 0.002946/0.3728, allocations: 0.504 MB / 419.1 MB, free: 18.34 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches