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.001446/0.001446, allocations: 118.9 kB / 18.41 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001753/0.001753, allocations: 208.5 kB / 19.36 MB, free: 3.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 60.75 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1191, allocations: 50.54 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.003119/0.1223, allocations: 1.503 MB / 360.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.1233, allocations: 0.4925 MB / 360.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.764e-05/0.1234, allocations: 0 / 360.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.127e-05/0.1235, allocations: 11.86 kB / 360.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.1236, allocations: 15.88 kB / 360.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.1239, allocations: 43.88 kB / 361 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.124, allocations: 71.66 kB / 361 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.729e-05/0.1241, allocations: 8.172 kB / 361 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.1243, allocations: 43.83 kB / 361.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.263e-05/0.1244, allocations: 31.84 kB / 361.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.1245, allocations: 8 kB / 361.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.544e-05/0.1245, allocations: 12 kB / 361.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.634e-05/0.1246, allocations: 19.91 kB / 361.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.188e-05/0.1246, allocations: 23.86 kB / 361.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.1248, allocations: 63.8 kB / 361.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1248, allocations: 0 / 361.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1248, allocations: 0 / 361.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1248, allocations: 0 / 361.2 MB, free: 11.01 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.000802/0.1256, allocations: 395.1 kB / 361.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.1257, allocations: 8.031 kB / 361.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003344/0.126, allocations: 32.81 kB / 361.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.1263, allocations: 184.2 kB / 361.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.1263, allocations: 384 / 361.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.1263, allocations: 4.312 kB / 361.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.1266, allocations: 92.34 kB / 361.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1266, allocations: 4 kB / 361.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1266, allocations: 0 / 361.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.1266, allocations: 0 / 361.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002421/0.1269, allocations: 59.88 kB / 362 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002398/0.1271, allocations: 199.3 kB / 362.2 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.1274, allocations: 95.75 kB / 362.3 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.1275, allocations: 54.55 kB / 362.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.1276, allocations: 7.922 kB / 362.4 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.1276, allocations: 42.5 kB / 362.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1276, allocations: 0 / 362.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004865/0.1281, allocations: 141.5 kB / 362.5 MB, free: 9.508 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.1282, allocations: 102.8 kB / 362.6 MB, free: 9.383 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.1283, allocations: 136.2 kB / 362.8 MB, free: 9.242 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.1283, allocations: 26.08 kB / 362.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.86e-05/0.1284, allocations: 100.1 kB / 362.9 MB, free: 9.109 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.1284, allocations: 3.906 kB / 362.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.1285, allocations: 21.7 kB / 362.9 MB, free: 9.078 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1286, allocations: 318.8 kB / 363.2 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.1288, allocations: 27.97 kB / 363.3 MB, free: 8.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.1289, allocations: 54.53 kB / 363.3 MB, free: 8.668 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.1291, allocations: 82.45 kB / 363.4 MB, free: 8.578 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1292, allocations: 0 / 363.4 MB, free: 8.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003224/0.1295, allocations: 113.4 kB / 363.5 MB, free: 8.461 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1295, allocations: 7.984 kB / 363.5 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1295, allocations: 0 / 363.5 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1295, allocations: 0 / 363.5 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.1297, allocations: 15.98 kB / 363.5 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.1297, allocations: 4 kB / 363.5 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.381e-05/0.1298, allocations: 23.95 kB / 363.5 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1298, allocations: 3.984 kB / 363.6 MB, free: 8.406 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 8.071e-05/0.1299, allocations: 121.8 kB / 363.7 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/0.1299, allocations: 11.84 kB / 363.7 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.683e-05/0.13, allocations: 11.92 kB / 363.7 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.13, allocations: 7.984 kB / 363.7 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.13, allocations: 0 / 363.7 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.13, allocations: 0 / 363.7 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.1301, allocations: 181.6 kB / 363.9 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.713e-05/0.1302, allocations: 3.938 kB / 363.9 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.1303, allocations: 23.97 kB / 363.9 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1303, allocations: 4 kB / 363.9 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.1304, allocations: 0 / 363.9 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.1304, allocations: 0 / 363.9 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.1304, allocations: 3.938 kB / 363.9 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.1307, allocations: 150.6 kB / 364.1 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.692e-05/0.1308, allocations: 84.95 kB / 364.1 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.1308, allocations: 4 kB / 364.1 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.373e-05/0.1309, allocations: 11.98 kB / 364.2 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/0.131, allocations: 11.98 kB / 364.2 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.131, allocations: 4 kB / 364.2 MB, free: 7.676 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.221e-05/0.131, allocations: 105.9 kB / 364.3 MB, free: 7.574 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.131, allocations: 0 / 364.3 MB, free: 7.574 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000201/0.1313, allocations: 8 kB / 364.3 MB, free: 7.566 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.0001142/0.1314, allocations: 91.25 kB / 364.4 MB, free: 7.469 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003237/0.1317, allocations: 83.86 kB / 364.5 MB, free: 7.387 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1317, allocations: 0 / 364.5 MB, free: 7.387 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.1319, allocations: 35.91 kB / 364.5 MB, free: 7.352 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.132, allocations: 7.938 kB / 364.5 MB, free: 7.344 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004964/0.1325, allocations: 201.1 kB / 364.7 MB, free: 7.117 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.1329, allocations: 0.6923 MB / 365.4 MB, free: 6.398 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.289e-05/0.1329, allocations: 0 / 365.4 MB, free: 6.398 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.133, allocations: 11.44 kB / 365.4 MB, free: 6.387 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.133, allocations: 4 kB / 365.4 MB, free: 6.383 MB / 302.1 MB Notification: Performance of Templates: time 0.0028/0.1358, allocations: 0.6201 MB / 366 MB, free: 5.77 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 -s gbode -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