Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001538/0.001539, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001869/0.001869, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.646/1.646, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 58.69 kB / 307.6 MB, free: 0.6562 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1073, allocations: 50.54 MB / 358.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.003382/0.1108, allocations: 1.5 MB / 359.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1118, allocations: 0.5004 MB / 360.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.421e-05/0.1119, allocations: 0 / 360.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.31e-05/0.112, allocations: 7.875 kB / 360.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.1121, allocations: 15.86 kB / 360.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.1124, allocations: 39.89 kB / 360.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.1125, allocations: 75.66 kB / 360.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.385e-05/0.1126, allocations: 12.17 kB / 360.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.1128, allocations: 43.83 kB / 360.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.67e-05/0.1129, allocations: 27.84 kB / 360.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.1129, allocations: 8 kB / 360.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.76e-05/0.113, allocations: 16 kB / 360.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.113, allocations: 7.984 kB / 360.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.818e-05/0.1131, allocations: 35.78 kB / 360.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.1133, allocations: 55.8 kB / 360.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1133, allocations: 0 / 360.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1133, allocations: 0 / 360.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.1133, allocations: 4 kB / 360.5 MB, free: 11.77 MB / 302.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.0006932/0.114, allocations: 399.3 kB / 360.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.114, allocations: 8.031 kB / 360.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003496/0.1144, allocations: 32.81 kB / 360.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.1146, allocations: 184.2 kB / 361.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.1146, allocations: 4.375 kB / 361.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.1147, allocations: 384 / 361.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.1149, allocations: 96.28 kB / 361.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.115, allocations: 0 / 361.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.115, allocations: 0 / 361.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.115, allocations: 0 / 361.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002871/0.1153, allocations: 67.88 kB / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002534/0.1155, allocations: 187.4 kB / 361.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.1158, allocations: 103.7 kB / 361.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.116, allocations: 46.61 kB / 361.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.116, allocations: 0 / 361.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.1161, allocations: 46.5 kB / 361.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1161, allocations: 0 / 361.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0006096/0.1167, allocations: 137.5 kB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/0.1168, allocations: 107.2 kB / 361.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.1169, allocations: 136.9 kB / 362 MB, free: 10 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.1169, allocations: 25.7 kB / 362 MB, free: 9.969 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.363e-05/0.117, allocations: 92.14 kB / 362.1 MB, free: 9.875 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.117, allocations: 7.891 kB / 362.1 MB, free: 9.867 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.1171, allocations: 17.72 kB / 362.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1172, allocations: 322.8 kB / 362.5 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.1174, allocations: 31.97 kB / 362.5 MB, free: 9.488 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.1175, allocations: 50.53 kB / 362.5 MB, free: 9.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003122/0.1178, allocations: 86.45 kB / 362.6 MB, free: 9.336 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1179, allocations: 0 / 362.6 MB, free: 9.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000365/0.1182, allocations: 117.3 kB / 362.7 MB, free: 9.215 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1183, allocations: 4 kB / 362.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.1183, allocations: 0 / 362.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.1183, allocations: 8.094 kB / 362.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.1185, allocations: 19.97 kB / 362.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1185, allocations: 0 / 362.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.1186, allocations: 15.92 kB / 362.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.1186, allocations: 0 / 362.8 MB, free: 9.168 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.283e-05/0.1187, allocations: 121.7 kB / 362.9 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.1188, allocations: 11.84 kB / 362.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.986e-05/0.1188, allocations: 19.81 kB / 362.9 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1188, allocations: 4 kB / 362.9 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1188, allocations: 0 / 362.9 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1188, allocations: 3.938 kB / 363 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.119, allocations: 181.6 kB / 363.1 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.119, allocations: 3.938 kB / 363.1 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.1191, allocations: 19.97 kB / 363.2 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.311e-06/0.1191, allocations: 8 kB / 363.2 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.1192, allocations: 0 / 363.2 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1192, allocations: 0 / 363.2 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1192, allocations: 0 / 363.2 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.1195, allocations: 146.6 kB / 363.3 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.1196, allocations: 88.94 kB / 363.4 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.1196, allocations: 8 kB / 363.4 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.1197, allocations: 11.98 kB / 363.4 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.1198, allocations: 4 kB / 363.4 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.1198, allocations: 7.984 kB / 363.4 MB, free: 8.434 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.532e-05/0.1199, allocations: 99.27 kB / 363.5 MB, free: 8.336 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1199, allocations: 0 / 363.5 MB, free: 8.336 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002354/0.1201, allocations: 8 kB / 363.5 MB, free: 8.328 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.0001186/0.1203, allocations: 95.25 kB / 363.6 MB, free: 8.227 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003809/0.1207, allocations: 79.86 kB / 363.7 MB, free: 8.148 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1207, allocations: 0 / 363.7 MB, free: 8.148 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.1208, allocations: 35.91 kB / 363.7 MB, free: 8.113 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.121, allocations: 14.66 kB / 363.7 MB, free: 8.102 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006043/0.1216, allocations: 218.4 kB / 364 MB, free: 7.852 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.1219, allocations: 0.6962 MB / 364.7 MB, free: 7.129 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.677e-05/0.122, allocations: 11.44 kB / 364.7 MB, free: 7.117 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.122, allocations: 0 / 364.7 MB, free: 7.117 MB / 302.1 MB Notification: Performance of Templates: time 0.002458/0.1244, allocations: 0.9102 MB / 365.6 MB, free: 6.207 MB / 302.1 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/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_trunk_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches