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.0008826/0.0008828, allocations: 89.39 kB / 16.32 MB, free: 6.453 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.0008931/0.0008933, allocations: 176.2 kB / 17.21 MB, free: 6.328 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.474/1.474, allocations: 223.2 MB / 241.2 MB, free: 304 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002848/0.0002849, allocations: 11.98 kB / 300.8 MB, free: 6.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1164, allocations: 50.42 MB / 351.2 MB, free: 4 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002173/0.1186, allocations: 1.187 MB / 352.4 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007673/0.1194, allocations: 424 kB / 352.8 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.394e-05/0.1194, allocations: 0 / 352.8 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.159e-05/0.1195, allocations: 7.984 kB / 352.8 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.1196, allocations: 7.875 kB / 352.9 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.1198, allocations: 23.95 kB / 352.9 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.1199, allocations: 55.73 kB / 352.9 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.489e-05/0.1199, allocations: 7.984 kB / 352.9 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.1201, allocations: 31.84 kB / 353 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.136e-05/0.1202, allocations: 27.91 kB / 353 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.1202, allocations: 8 kB / 353 MB, free: 2.215 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.248e-05/0.1202, allocations: 0 / 353 MB, free: 2.215 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.1203, allocations: 15.92 kB / 353 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.562e-05/0.1203, allocations: 29.7 kB / 353.1 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.614e-05/0.1204, allocations: 39.86 kB / 353.1 MB, free: 2.125 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1204, allocations: 3.938 kB / 353.1 MB, free: 2.121 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1204, allocations: 0 / 353.1 MB, free: 2.121 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.686e-06/0.1204, allocations: 0 / 353.1 MB, free: 2.121 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.0006471/0.1211, allocations: 395.3 kB / 353.5 MB, free: 1.688 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.1211, allocations: 12.03 kB / 353.5 MB, free: 1.676 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.1212, allocations: 7.859 kB / 353.5 MB, free: 1.668 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.1213, allocations: 170.9 kB / 353.7 MB, free: 1.461 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.1213, allocations: 8 kB / 353.7 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.1214, allocations: 0 / 353.7 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.1216, allocations: 96.2 kB / 353.8 MB, free: 1.344 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.1217, allocations: 0 / 353.8 MB, free: 1.344 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.1217, allocations: 7.938 kB / 353.8 MB, free: 1.336 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1217, allocations: 7.953 kB / 353.8 MB, free: 1.328 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002565/0.122, allocations: 71.94 kB / 353.9 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002207/0.1222, allocations: 187.5 kB / 354 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.1225, allocations: 111.8 kB / 354.1 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.1226, allocations: 58.61 kB / 354.2 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.1227, allocations: 11.92 kB / 354.2 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.1227, allocations: 34.56 kB / 354.2 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.1227, allocations: 0 / 354.2 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005825/0.1233, allocations: 165.5 kB / 354.4 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/0.1234, allocations: 107.1 kB / 354.5 MB, free: 476 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.1235, allocations: 133 kB / 354.6 MB, free: 332 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1235, allocations: 25.7 kB / 354.7 MB, free: 300 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.1236, allocations: 100.1 kB / 354.8 MB, free: 196 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.1236, allocations: 11.78 kB / 354.8 MB, free: 184 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/0.1236, allocations: 4 kB / 354.8 MB, free: 180 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1238, allocations: 318.8 kB / 355.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.1239, allocations: 39.97 kB / 355.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.1241, allocations: 54.55 kB / 355.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.1242, allocations: 43.97 kB / 355.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1242, allocations: 0 / 355.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003164/0.1246, allocations: 125.5 kB / 355.4 MB, free: 15.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.1246, allocations: 8 kB / 355.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.1246, allocations: 0 / 355.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1246, allocations: 7.938 kB / 355.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.1248, allocations: 32.06 kB / 355.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1248, allocations: 0 / 355.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.189e-05/0.1249, allocations: 19.94 kB / 355.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.1249, allocations: 4 kB / 355.4 MB, free: 15.51 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.137e-05/0.125, allocations: 113.8 kB / 355.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.1251, allocations: 11.91 kB / 355.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.1251, allocations: 15.86 kB / 355.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1251, allocations: 0 / 355.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1251, allocations: 0 / 355.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1251, allocations: 4 kB / 355.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.1253, allocations: 177.6 kB / 355.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1253, allocations: 4 kB / 355.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.1254, allocations: 19.98 kB / 355.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.1254, allocations: 4 kB / 355.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1254, allocations: 3.984 kB / 355.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1254, allocations: 0 / 355.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.1255, allocations: 4 kB / 355.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.1258, allocations: 166.6 kB / 355.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.666e-05/0.1259, allocations: 81.02 kB / 356 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.1259, allocations: 4 kB / 356 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.993e-05/0.126, allocations: 15.98 kB / 356 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.126, allocations: 7.984 kB / 356 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.1261, allocations: 0 / 356 MB, free: 14.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.284e-05/0.1261, allocations: 103.2 kB / 356.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1261, allocations: 0 / 356.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002017/0.1263, allocations: 12 kB / 356.2 MB, free: 14.67 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 (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 0.0001326/0.1265, allocations: 95.2 kB / 356.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003215/0.1268, allocations: 91.88 kB / 356.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1268, allocations: 4.188 kB / 356.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.127, allocations: 47.89 kB / 356.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.1272, allocations: 7.938 kB / 356.4 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005592/0.1277, allocations: 216.6 kB / 356.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.128, allocations: 0.6887 MB / 357.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.287e-05/0.1281, allocations: 4 kB / 357.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.68e-05/0.1281, allocations: 15.42 kB / 357.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1281, allocations: 0 / 357.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of Templates: time 0.002981/0.1311, allocations: 0.5026 MB / 357.8 MB, free: 12.95 MB / 302.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches