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.0009073/0.0009075, allocations: 95.7 kB / 16.3 MB, free: 6.457 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.001006/0.001006, allocations: 183.5 kB / 17.2 MB, free: 6.336 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.332/1.332, allocations: 223.2 MB / 241.1 MB, free: 5.438 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000259/0.000259, allocations: 5.594 kB / 300.7 MB, free: 6.082 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1054, allocations: 50.43 MB / 351.1 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.001368/0.1068, allocations: 1.177 MB / 352.3 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005313/0.1074, allocations: 416.2 kB / 352.7 MB, free: 10.13 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.978e-05/0.1074, allocations: 4 kB / 352.7 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.1074, allocations: 7.922 kB / 352.7 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.304e-05/0.1075, allocations: 19.97 kB / 352.7 MB, free: 10.1 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001159/0.1076, allocations: 19.95 kB / 352.8 MB, free: 10.08 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.002e-05/0.1077, allocations: 47.88 kB / 352.8 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.39e-05/0.1078, allocations: 4.281 kB / 352.8 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.1079, allocations: 35.84 kB / 352.9 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.93e-05/0.108, allocations: 35.83 kB / 352.9 MB, free: 9.957 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.108, allocations: 0 / 352.9 MB, free: 9.957 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.583e-05/0.108, allocations: 4 kB / 352.9 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.1081, allocations: 4 kB / 352.9 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.1081, allocations: 37.64 kB / 352.9 MB, free: 9.906 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.34e-05/0.1082, allocations: 35.88 kB / 353 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.1082, allocations: 0 / 353 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1082, allocations: 0 / 353 MB, free: 9.871 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1082, allocations: 0 / 353 MB, free: 9.871 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.0005725/0.1088, allocations: 395.1 kB / 353.4 MB, free: 9.438 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.1088, allocations: 8.031 kB / 353.4 MB, free: 9.43 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.1088, allocations: 15.84 kB / 353.4 MB, free: 9.414 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.109, allocations: 177.4 kB / 353.5 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.109, allocations: 4 kB / 353.6 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.109, allocations: 0 / 353.6 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.1093, allocations: 96.16 kB / 353.6 MB, free: 9.09 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1093, allocations: 0 / 353.6 MB, free: 9.09 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1093, allocations: 8 kB / 353.7 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1093, allocations: 3.953 kB / 353.7 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002628/0.1096, allocations: 75.94 kB / 353.7 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001824/0.1098, allocations: 187.4 kB / 353.9 MB, free: 8.766 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.11, allocations: 115.7 kB / 354 MB, free: 8.625 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.1101, allocations: 0 / 354 MB, free: 8.625 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.1101, allocations: 38.5 kB / 354.1 MB, free: 8.578 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.215e-06/0.1101, allocations: 4 kB / 354.1 MB, free: 8.574 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005357/0.1107, allocations: 165.9 kB / 354.2 MB, free: 8.406 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.1107, allocations: 102.8 kB / 354.3 MB, free: 8.281 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.617e-05/0.1108, allocations: 130.1 kB / 354.5 MB, free: 8.141 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.1108, allocations: 25.7 kB / 354.5 MB, free: 8.109 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/0.1109, allocations: 88.14 kB / 354.6 MB, free: 8.02 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.1109, allocations: 15.91 kB / 354.6 MB, free: 8.004 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.1109, allocations: 3.938 kB / 354.6 MB, free: 8 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.537e-05/0.111, allocations: 322.8 kB / 354.9 MB, free: 7.676 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.1112, allocations: 43.91 kB / 354.9 MB, free: 7.633 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.1113, allocations: 54.55 kB / 355 MB, free: 7.57 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.1114, allocations: 47.97 kB / 355 MB, free: 7.523 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1115, allocations: 0 / 355 MB, free: 7.523 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003146/0.1118, allocations: 125.5 kB / 355.2 MB, free: 7.395 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1118, allocations: 4 kB / 355.2 MB, free: 7.391 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1118, allocations: 0 / 355.2 MB, free: 7.391 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1118, allocations: 7.984 kB / 355.2 MB, free: 7.383 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.112, allocations: 19.98 kB / 355.2 MB, free: 7.363 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.112, allocations: 0 / 355.2 MB, free: 7.363 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.884e-05/0.1121, allocations: 24 kB / 355.2 MB, free: 7.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.1121, allocations: 4 kB / 355.2 MB, free: 7.336 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.052e-05/0.1122, allocations: 117.8 kB / 355.3 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.1122, allocations: 7.906 kB / 355.4 MB, free: 7.203 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/0.1122, allocations: 11.88 kB / 355.4 MB, free: 7.188 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1123, allocations: 0 / 355.4 MB, free: 7.188 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1123, allocations: 0 / 355.4 MB, free: 7.188 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1123, allocations: 0 / 355.4 MB, free: 7.188 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.1124, allocations: 189.7 kB / 355.5 MB, free: 6.953 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1124, allocations: 0 / 355.5 MB, free: 6.953 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.1125, allocations: 31.95 kB / 355.6 MB, free: 6.922 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1126, allocations: 0 / 355.6 MB, free: 6.922 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1126, allocations: 4 kB / 355.6 MB, free: 6.918 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1126, allocations: 0 / 355.6 MB, free: 6.918 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1126, allocations: 0 / 355.6 MB, free: 6.918 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.1129, allocations: 194 kB / 355.8 MB, free: 6.691 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.631e-05/0.113, allocations: 88.95 kB / 355.9 MB, free: 6.586 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.113, allocations: 0 / 355.9 MB, free: 6.586 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.505e-05/0.1131, allocations: 15.98 kB / 355.9 MB, free: 6.57 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.1132, allocations: 11.94 kB / 355.9 MB, free: 6.559 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.1132, allocations: 4 kB / 355.9 MB, free: 6.555 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.543e-05/0.1132, allocations: 101.1 kB / 356 MB, free: 6.457 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1132, allocations: 0 / 356 MB, free: 6.457 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000193/0.1134, allocations: 8 kB / 356 MB, free: 6.449 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.866e-05/0.1135, allocations: 95.25 kB / 356.1 MB, free: 6.348 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003298/0.1139, allocations: 95.86 kB / 356.2 MB, free: 6.254 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1139, allocations: 3.938 kB / 356.2 MB, free: 6.25 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.114, allocations: 48.16 kB / 356.2 MB, free: 6.203 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/0.1141, allocations: 4 kB / 356.2 MB, free: 6.199 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004523/0.1146, allocations: 216.5 kB / 356.4 MB, free: 5.957 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.1148, allocations: 0.6887 MB / 357.1 MB, free: 5.242 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.531e-05/0.1149, allocations: 4 kB / 357.1 MB, free: 5.238 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.437e-05/0.1149, allocations: 15.42 kB / 357.2 MB, free: 5.223 MB / 286.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1149, allocations: 0 / 357.2 MB, free: 5.223 MB / 286.1 MB Notification: Performance of Templates: time 0.00221/0.1171, allocations: 0.4921 MB / 357.6 MB, free: 4.73 MB / 286.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","../files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches