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.00161/0.00161, allocations: 104.2 kB / 17.59 MB, free: 5.543 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.001723/0.001724, allocations: 187.4 kB / 18.51 MB, free: 4.625 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.375/1.375, allocations: 222.9 MB / 242.2 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 55.42 kB / 301.3 MB, free: 5.922 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1023, allocations: 49.45 MB / 350.7 MB, free: 4.461 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.003386/0.1057, allocations: 1.488 MB / 352.2 MB, free: 2.949 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008511/0.1066, allocations: 452.3 kB / 352.6 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.783e-05/0.1067, allocations: 4 kB / 352.7 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.667e-05/0.1067, allocations: 3.938 kB / 352.7 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.1069, allocations: 19.78 kB / 352.7 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.1071, allocations: 31.91 kB / 352.7 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.1072, allocations: 63.78 kB / 352.8 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.801e-05/0.1073, allocations: 11.98 kB / 352.8 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.1074, allocations: 35.8 kB / 352.8 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.367e-05/0.1075, allocations: 31.91 kB / 352.8 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.1076, allocations: 4 kB / 352.9 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.609e-05/0.1076, allocations: 4 kB / 352.9 MB, free: 2.301 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.827e-05/0.1076, allocations: 15.91 kB / 352.9 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.383e-05/0.1077, allocations: 27.86 kB / 352.9 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.1078, allocations: 47.8 kB / 352.9 MB, free: 2.211 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.1078, allocations: 0 / 352.9 MB, free: 2.211 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1078, allocations: 0 / 352.9 MB, free: 2.211 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1078, allocations: 4 kB / 352.9 MB, free: 2.207 MB / 286.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.0007136/0.1085, allocations: 391.4 kB / 353.3 MB, free: 1.777 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.1086, allocations: 12.03 kB / 353.3 MB, free: 1.766 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.1086, allocations: 4.844 kB / 353.3 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.1088, allocations: 176.2 kB / 353.5 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.1088, allocations: 4.375 kB / 353.5 MB, free: 1.547 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.1088, allocations: 4.125 kB / 353.5 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.1091, allocations: 92.16 kB / 353.6 MB, free: 1.438 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1091, allocations: 0 / 353.6 MB, free: 1.438 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.1091, allocations: 0 / 353.6 MB, free: 1.438 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.1091, allocations: 7.938 kB / 353.6 MB, free: 1.43 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002697/0.1094, allocations: 63.88 kB / 353.7 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002084/0.1096, allocations: 187.5 kB / 353.9 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.1099, allocations: 103.7 kB / 354 MB, free: 1 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.1101, allocations: 50.55 kB / 354 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.1101, allocations: 3.984 kB / 354 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.1101, allocations: 34.56 kB / 354.1 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.1101, allocations: 8 kB / 354.1 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005447/0.1107, allocations: 137.4 kB / 354.2 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.1108, allocations: 106.8 kB / 354.3 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.1109, allocations: 133.7 kB / 354.4 MB, free: 488 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.1109, allocations: 29.7 kB / 354.5 MB, free: 452 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.1109, allocations: 88.14 kB / 354.6 MB, free: 360 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.111, allocations: 19.69 kB / 354.6 MB, free: 340 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-05/0.1111, allocations: 21.7 kB / 354.6 MB, free: 312 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1112, allocations: 314.8 kB / 354.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.1113, allocations: 27.97 kB / 354.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.1115, allocations: 54.55 kB / 355 MB, free: 15.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/0.1118, allocations: 82.45 kB / 355.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1118, allocations: 0 / 355.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003593/0.1121, allocations: 113.5 kB / 355.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1122, allocations: 4 kB / 355.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1122, allocations: 0 / 355.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1122, allocations: 4 kB / 355.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.1124, allocations: 24.06 kB / 355.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1124, allocations: 0 / 355.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.1125, allocations: 15.89 kB / 355.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.1125, allocations: 0 / 355.2 MB, free: 15.64 MB / 302.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.264e-05/0.1126, allocations: 117.8 kB / 355.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.1126, allocations: 7.938 kB / 355.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.652e-05/0.1127, allocations: 15.86 kB / 355.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1127, allocations: 0 / 355.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/0.1127, allocations: 4 kB / 355.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1127, allocations: 4 kB / 355.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.1129, allocations: 181.5 kB / 355.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1129, allocations: 0 / 355.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.113, allocations: 19.97 kB / 355.6 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.113, allocations: 4 kB / 355.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.113, allocations: 8 kB / 355.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.113, allocations: 0 / 355.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.113, allocations: 4 kB / 355.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.1134, allocations: 142.7 kB / 355.7 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/0.1134, allocations: 84.95 kB / 355.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.1135, allocations: 7.984 kB / 355.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.762e-05/0.1136, allocations: 11.98 kB / 355.8 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.1136, allocations: 8 kB / 355.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.1137, allocations: 4 kB / 355.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.695e-05/0.1137, allocations: 99.25 kB / 355.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.723e-06/0.1137, allocations: 0 / 355.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002044/0.1139, allocations: 15.94 kB / 355.9 MB, free: 14.81 MB / 302.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.0001066/0.1141, allocations: 95.72 kB / 356 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003606/0.1144, allocations: 75.88 kB / 356.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1144, allocations: 0 / 356.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.1146, allocations: 43.89 kB / 356.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.1148, allocations: 7.938 kB / 356.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005771/0.1154, allocations: 226.8 kB / 356.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.1156, allocations: 0.6924 MB / 357.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.067e-05/0.1157, allocations: 15.36 kB / 357.1 MB, free: 13.59 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1157, allocations: 0 / 357.1 MB, free: 13.59 MB / 302.1 MB Notification: Performance of Templates: time 0.00243/0.1181, allocations: 0.8678 MB / 358 MB, free: 12.73 MB / 302.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/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