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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=20000,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=20000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 113.2 kB / 17.07 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001266, allocations: 195 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 39.94 kB / 351.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4048, allocations: 49.44 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.00295/0.4078, allocations: 1.488 MB / 402.2 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000752/0.4085, allocations: 461 kB / 402.7 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.642e-05/0.4086, allocations: 4 kB / 402.7 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.555e-05/0.4086, allocations: 3.938 kB / 402.7 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.4088, allocations: 19.78 kB / 402.7 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.409, allocations: 35.91 kB / 402.7 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.4091, allocations: 63.78 kB / 402.8 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.703e-05/0.4092, allocations: 4 kB / 402.8 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.4094, allocations: 43.77 kB / 402.8 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.405e-05/0.4094, allocations: 27.91 kB / 402.8 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.4095, allocations: 4 kB / 402.9 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.781e-05/0.4095, allocations: 7.938 kB / 402.9 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.111e-05/0.4095, allocations: 19.91 kB / 402.9 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.955e-05/0.4096, allocations: 23.88 kB / 402.9 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.4097, allocations: 55.73 kB / 403 MB, free: 6.645 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4097, allocations: 0 / 403 MB, free: 6.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.4098, allocations: 0 / 403 MB, free: 6.645 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.4098, allocations: 0 / 403 MB, free: 6.645 MB / 318.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.0006768/0.4105, allocations: 395.1 kB / 403.3 MB, free: 6.211 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.4105, allocations: 11.89 kB / 403.4 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.4105, allocations: 8.891 kB / 403.4 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.4107, allocations: 184.2 kB / 403.5 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.4107, allocations: 4.375 kB / 403.5 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.4107, allocations: 3.938 kB / 403.6 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.411, allocations: 92.14 kB / 403.6 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.411, allocations: 0 / 403.6 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.411, allocations: 0 / 403.6 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.4111, allocations: 4 kB / 403.6 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002561/0.4113, allocations: 63.88 kB / 403.7 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002131/0.4115, allocations: 187.5 kB / 403.9 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.4118, allocations: 103.7 kB / 404 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.412, allocations: 46.61 kB / 404 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.412, allocations: 0 / 404 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.412, allocations: 42.55 kB / 404.1 MB, free: 5.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 2.454e-06/0.412, allocations: 4 kB / 404.1 MB, free: 5.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005312/0.4126, allocations: 141.7 kB / 404.2 MB, free: 5.172 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.412e-05/0.4127, allocations: 110.8 kB / 404.3 MB, free: 5.039 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.4128, allocations: 122.1 kB / 404.5 MB, free: 4.906 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.4128, allocations: 29.7 kB / 404.5 MB, free: 4.871 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.046e-05/0.4129, allocations: 88.12 kB / 404.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.4129, allocations: 15.91 kB / 404.6 MB, free: 4.766 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/0.413, allocations: 21.7 kB / 404.6 MB, free: 4.738 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.4131, allocations: 310.8 kB / 404.9 MB, free: 4.426 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.4132, allocations: 35.95 kB / 404.9 MB, free: 4.391 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.4134, allocations: 50.55 kB / 405 MB, free: 4.332 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.4137, allocations: 82.45 kB / 405.1 MB, free: 4.242 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4137, allocations: 0 / 405.1 MB, free: 4.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003075/0.414, allocations: 113.5 kB / 405.2 MB, free: 4.125 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.414, allocations: 4.094 kB / 405.2 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.414, allocations: 4 kB / 405.2 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.4141, allocations: 4 kB / 405.2 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.4142, allocations: 15.98 kB / 405.2 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.4142, allocations: 0 / 405.2 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.651e-05/0.4143, allocations: 23.88 kB / 405.2 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.4144, allocations: 3.984 kB / 405.2 MB, free: 4.07 MB / 318.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.0001172/0.4145, allocations: 121.7 kB / 405.4 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.4145, allocations: 11.95 kB / 405.4 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.723e-05/0.4146, allocations: 11.88 kB / 405.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4146, allocations: 0 / 405.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4146, allocations: 0 / 405.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.4146, allocations: 7.984 kB / 405.4 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.4148, allocations: 181.5 kB / 405.6 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4148, allocations: 0 / 405.6 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.4149, allocations: 15.98 kB / 405.6 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.4149, allocations: 4 kB / 405.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.4149, allocations: 3.984 kB / 405.6 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4149, allocations: 4 kB / 405.6 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.4149, allocations: 4 kB / 405.6 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003561/0.4153, allocations: 146.6 kB / 405.7 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.4153, allocations: 81.11 kB / 405.8 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.4154, allocations: 4 kB / 405.8 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.913e-05/0.4155, allocations: 15.92 kB / 405.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/0.4155, allocations: 8.125 kB / 405.8 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.4156, allocations: 4 kB / 405.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.4157, allocations: 98.64 kB / 405.9 MB, free: 3.258 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4157, allocations: 0 / 405.9 MB, free: 3.258 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001944/0.4159, allocations: 8 kB / 406 MB, free: 3.25 MB / 318.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.0001549/0.4161, allocations: 107.7 kB / 406.1 MB, free: 3.137 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003674/0.4164, allocations: 75.86 kB / 406.1 MB, free: 3.062 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4165, allocations: 0 / 406.1 MB, free: 3.062 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.4166, allocations: 40.22 kB / 406.2 MB, free: 3.023 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.4168, allocations: 15.92 kB / 406.2 MB, free: 3.008 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006278/0.4175, allocations: 176.9 kB / 406.4 MB, free: 2.805 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.4178, allocations: 0.6923 MB / 407.1 MB, free: 2.086 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.578e-05/0.4179, allocations: 8 kB / 407.1 MB, free: 2.078 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.4179, allocations: 7.438 kB / 407.1 MB, free: 2.07 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4179, allocations: 0 / 407.1 MB, free: 2.07 MB / 318.1 MB Notification: Performance of Templates: time 0.002925/0.4209, allocations: 0.6172 MB / 407.7 MB, free: 1.457 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.makefile (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) 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) Reference file matches