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.001721/0.001721, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001925/0.001925, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 246.8 MB, free: 10.65 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 59.75 kB / 306.9 MB, free: 0.6914 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1186, allocations: 50.54 MB / 357.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.003656/0.1224, allocations: 1.499 MB / 359 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.1235, allocations: 0.5003 MB / 359.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.584e-05/0.1237, allocations: 0 / 359.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.049e-05/0.1237, allocations: 7.922 kB / 359.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.1238, allocations: 15.88 kB / 359.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.1242, allocations: 47.81 kB / 359.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.1244, allocations: 67.72 kB / 359.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1245, allocations: 12.17 kB / 359.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002439/0.1247, allocations: 39.84 kB / 359.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.1248, allocations: 35.83 kB / 359.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.1249, allocations: 4 kB / 359.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.637e-05/0.125, allocations: 16 kB / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.125, allocations: 7.984 kB / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.452e-05/0.125, allocations: 31.8 kB / 359.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.1253, allocations: 59.78 kB / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.1253, allocations: 0 / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.596e-06/0.1253, allocations: 4 kB / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.1253, allocations: 4 kB / 359.8 MB, free: 11.78 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.0008744/0.1262, allocations: 387.4 kB / 360.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.1262, allocations: 8.031 kB / 360.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000421/0.1267, allocations: 32.81 kB / 360.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.127, allocations: 195.1 kB / 360.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.127, allocations: 8.359 kB / 360.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.127, allocations: 4.375 kB / 360.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.1274, allocations: 88.34 kB / 360.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.1274, allocations: 0 / 360.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1274, allocations: 0 / 360.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1274, allocations: 0 / 360.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002763/0.1277, allocations: 71.81 kB / 360.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002539/0.128, allocations: 187.4 kB / 360.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.1283, allocations: 103.8 kB / 360.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.1284, allocations: 46.59 kB / 360.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.1285, allocations: 4 kB / 360.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.1285, allocations: 46.44 kB / 361 MB, free: 10.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.1285, allocations: 0 / 361 MB, free: 10.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005579/0.1291, allocations: 133.5 kB / 361.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.318e-05/0.1292, allocations: 107.2 kB / 361.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.1293, allocations: 133.7 kB / 361.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.1293, allocations: 25.7 kB / 361.3 MB, free: 9.988 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.509e-05/0.1294, allocations: 92.14 kB / 361.4 MB, free: 9.895 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.659e-05/0.1294, allocations: 11.89 kB / 361.5 MB, free: 9.883 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.1295, allocations: 17.7 kB / 361.5 MB, free: 9.859 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1296, allocations: 322.8 kB / 361.8 MB, free: 9.535 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.1298, allocations: 31.97 kB / 361.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.1299, allocations: 54.48 kB / 361.9 MB, free: 9.441 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.1302, allocations: 82.45 kB / 361.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1302, allocations: 0 / 361.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003166/0.1305, allocations: 117.4 kB / 362.1 MB, free: 9.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1306, allocations: 4 kB / 362.1 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1306, allocations: 96 / 362.1 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-05/0.1307, allocations: 8 kB / 362.1 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.1308, allocations: 23.91 kB / 362.1 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1308, allocations: 0 / 362.1 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.407e-05/0.1309, allocations: 15.92 kB / 362.1 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.1309, allocations: 0 / 362.1 MB, free: 9.18 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.343e-05/0.131, allocations: 117.8 kB / 362.2 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.1311, allocations: 11.84 kB / 362.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.385e-05/0.1311, allocations: 23.81 kB / 362.3 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1311, allocations: 0 / 362.3 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1311, allocations: 0 / 362.3 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1311, allocations: 4 kB / 362.3 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.1313, allocations: 173.6 kB / 362.4 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.1313, allocations: 7.938 kB / 362.4 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.1315, allocations: 19.97 kB / 362.5 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1315, allocations: 4 kB / 362.5 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.1315, allocations: 0 / 362.5 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1315, allocations: 0 / 362.5 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.889e-05/0.1315, allocations: 8 kB / 362.5 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.1319, allocations: 138.6 kB / 362.6 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.1319, allocations: 85.09 kB / 362.7 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.1319, allocations: 19.91 kB / 362.7 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.441e-05/0.132, allocations: 15.98 kB / 362.7 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.1321, allocations: 0 / 362.7 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.1321, allocations: 4 kB / 362.7 MB, free: 8.453 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.724e-05/0.1322, allocations: 106.1 kB / 362.8 MB, free: 8.352 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1322, allocations: 0 / 362.8 MB, free: 8.352 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001937/0.1324, allocations: 8 kB / 362.8 MB, free: 8.344 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.0001172/0.1325, allocations: 103.2 kB / 362.9 MB, free: 8.234 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003198/0.1328, allocations: 67.94 kB / 363 MB, free: 8.168 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1328, allocations: 0 / 363 MB, free: 8.168 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.133, allocations: 44.2 kB / 363.1 MB, free: 8.125 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.1332, allocations: 11.94 kB / 363.1 MB, free: 8.113 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005395/0.1337, allocations: 192.6 kB / 363.3 MB, free: 7.895 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.1341, allocations: 0.6885 MB / 363.9 MB, free: 7.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.003e-05/0.1341, allocations: 8 kB / 364 MB, free: 7.172 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/0.1342, allocations: 11.42 kB / 364 MB, free: 7.16 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1342, allocations: 0 / 364 MB, free: 7.16 MB / 302.1 MB Notification: Performance of Templates: time 0.0027/0.1369, allocations: 0.6195 MB / 364.6 MB, free: 6.547 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/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_trunk_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches