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.00112/0.00112, allocations: 109.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001364/0.001364, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.00118, allocations: 63.83 kB / 306.2 MB, free: 0.8242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1105, allocations: 50.54 MB / 356.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002589/0.1131, allocations: 1.566 MB / 358.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008605/0.114, allocations: 0.491 MB / 358.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.982e-05/0.1141, allocations: 4 kB / 358.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.846e-05/0.1142, allocations: 7.922 kB / 358.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.967e-05/0.1143, allocations: 11.88 kB / 358.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.1145, allocations: 35.95 kB / 358.9 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.1146, allocations: 71.66 kB / 359 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.675e-05/0.1147, allocations: 12.16 kB / 359 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.1148, allocations: 39.83 kB / 359 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.567e-05/0.1149, allocations: 31.84 kB / 359.1 MB, free: 12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.1149, allocations: 0 / 359.1 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.16e-05/0.115, allocations: 16 kB / 359.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.115, allocations: 7.922 kB / 359.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.444e-05/0.1151, allocations: 31.84 kB / 359.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.1152, allocations: 55.8 kB / 359.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1152, allocations: 0 / 359.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1152, allocations: 4 kB / 359.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1152, allocations: 0 / 359.2 MB, free: 11.89 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.0006687/0.1159, allocations: 395.4 kB / 359.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.116, allocations: 12.03 kB / 359.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003738/0.1164, allocations: 32.81 kB / 359.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.1165, allocations: 184.2 kB / 359.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.1166, allocations: 384 / 359.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.1166, allocations: 4.375 kB / 359.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.1169, allocations: 96.28 kB / 359.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1169, allocations: 0 / 359.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1169, allocations: 0 / 359.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1169, allocations: 0 / 359.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000257/0.1172, allocations: 63.88 kB / 359.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.1174, allocations: 191.4 kB / 360.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.1177, allocations: 103.7 kB / 360.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.1178, allocations: 50.61 kB / 360.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.1178, allocations: 4 kB / 360.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.1179, allocations: 38.44 kB / 360.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.093e-06/0.1179, allocations: 0 / 360.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005506/0.1184, allocations: 145.6 kB / 360.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.1185, allocations: 102.8 kB / 360.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.1186, allocations: 136.4 kB / 360.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.1186, allocations: 25.7 kB / 360.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/0.1187, allocations: 96.08 kB / 360.8 MB, free: 9.992 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.1187, allocations: 16.16 kB / 360.8 MB, free: 9.977 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.1188, allocations: 17.72 kB / 360.8 MB, free: 9.953 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1189, allocations: 318.8 kB / 361.2 MB, free: 9.633 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.119, allocations: 27.97 kB / 361.2 MB, free: 9.605 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.1192, allocations: 50.55 kB / 361.2 MB, free: 9.547 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.1194, allocations: 82.45 kB / 361.3 MB, free: 9.457 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1194, allocations: 0 / 361.3 MB, free: 9.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003274/0.1198, allocations: 121.4 kB / 361.4 MB, free: 9.332 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1198, allocations: 4 kB / 361.4 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1198, allocations: 0 / 361.4 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1198, allocations: 4 kB / 361.4 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.12, allocations: 19.97 kB / 361.5 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.12, allocations: 0 / 361.5 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.955e-05/0.1201, allocations: 16.02 kB / 361.5 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1201, allocations: 4 kB / 361.5 MB, free: 9.285 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.295e-05/0.1202, allocations: 121.7 kB / 361.6 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.1e-05/0.1203, allocations: 11.84 kB / 361.6 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.801e-05/0.1203, allocations: 19.81 kB / 361.6 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1203, allocations: 0 / 361.6 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1203, allocations: 0 / 361.6 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1203, allocations: 4 kB / 361.6 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.1205, allocations: 169.6 kB / 361.8 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1205, allocations: 3.938 kB / 361.8 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.1206, allocations: 23.97 kB / 361.8 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1206, allocations: 4 kB / 361.8 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.1206, allocations: 8 kB / 361.8 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1206, allocations: 0 / 361.8 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1206, allocations: 4 kB / 361.8 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.121, allocations: 146.7 kB / 362 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.907e-05/0.1211, allocations: 92.94 kB / 362.1 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.1211, allocations: 0 / 362.1 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.702e-05/0.1212, allocations: 11.98 kB / 362.1 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.1212, allocations: 4 kB / 362.1 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.1213, allocations: 7.984 kB / 362.1 MB, free: 8.559 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.908e-05/0.1213, allocations: 99.27 kB / 362.2 MB, free: 8.461 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1213, allocations: 7.875 kB / 362.2 MB, free: 8.453 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002044/0.1215, allocations: 12 kB / 362.2 MB, free: 8.441 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 9.803e-05/0.1216, allocations: 95.25 kB / 362.3 MB, free: 8.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003493/0.122, allocations: 75.98 kB / 362.4 MB, free: 8.266 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.122, allocations: 0 / 362.4 MB, free: 8.266 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.1222, allocations: 39.91 kB / 362.4 MB, free: 8.227 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.1224, allocations: 10.59 kB / 362.4 MB, free: 8.219 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005159/0.1229, allocations: 206.8 kB / 362.6 MB, free: 7.984 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.1231, allocations: 0.6848 MB / 363.3 MB, free: 7.273 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.323e-05/0.1232, allocations: 8 kB / 363.3 MB, free: 7.266 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.107e-05/0.1232, allocations: 11.44 kB / 363.3 MB, free: 7.254 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1233, allocations: 0 / 363.3 MB, free: 7.254 MB / 302.1 MB Notification: Performance of Templates: time 0.002524/0.1258, allocations: 0.5133 MB / 363.8 MB, free: 6.742 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