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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 116.5 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 190.7 kB / 21.4 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] 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=10000,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=10000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 47.92 kB / 366.8 MB, free: 336 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1167, allocations: 52.15 MB / 418.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002587/0.1193, allocations: 1.485 MB / 420.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007744/0.1201, allocations: 458.8 kB / 420.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.358e-05/0.1201, allocations: 0 / 420.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.97e-05/0.1201, allocations: 7.922 kB / 420.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.964e-05/0.1202, allocations: 19.81 kB / 420.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001603/0.1204, allocations: 27.95 kB / 420.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.1205, allocations: 75.66 kB / 421 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.455e-05/0.1206, allocations: 7.922 kB / 421 MB, free: 10 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.1207, allocations: 31.92 kB / 421 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.494e-05/0.1208, allocations: 35.83 kB / 421.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.1208, allocations: 4 kB / 421.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.514e-05/0.1208, allocations: 7.938 kB / 421.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.5e-05/0.1209, allocations: 7.984 kB / 421.1 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.423e-05/0.1209, allocations: 31.8 kB / 421.1 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.121, allocations: 51.8 kB / 421.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.121, allocations: 3.938 kB / 421.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.121, allocations: 4 kB / 421.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.121, allocations: 4 kB / 421.2 MB, free: 9.824 MB / 350.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.0007092/0.1218, allocations: 383.1 kB / 421.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.1218, allocations: 12.03 kB / 421.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.1218, allocations: 4.891 kB / 421.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.122, allocations: 186.5 kB / 421.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.122, allocations: 4.375 kB / 421.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.122, allocations: 7.938 kB / 421.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.1223, allocations: 84.16 kB / 421.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1223, allocations: 0 / 421.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1223, allocations: 4 kB / 421.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1223, allocations: 0 / 421.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000271/0.1226, allocations: 59.94 kB / 421.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002448/0.1228, allocations: 191.4 kB / 422.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.1231, allocations: 103.7 kB / 422.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.1233, allocations: 50.55 kB / 422.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.1233, allocations: 4 kB / 422.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.1233, allocations: 38.55 kB / 422.3 MB, free: 8.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1233, allocations: 0 / 422.3 MB, free: 8.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005598/0.1239, allocations: 141.5 kB / 422.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.1239, allocations: 111.1 kB / 422.5 MB, free: 8.238 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.1241, allocations: 126.1 kB / 422.7 MB, free: 8.102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.1241, allocations: 25.7 kB / 422.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.955e-05/0.1242, allocations: 92.14 kB / 422.8 MB, free: 7.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.1242, allocations: 15.83 kB / 422.8 MB, free: 7.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.1242, allocations: 17.72 kB / 422.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.1244, allocations: 322.8 kB / 423.1 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.1246, allocations: 31.97 kB / 423.2 MB, free: 7.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.1247, allocations: 46.55 kB / 423.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.125, allocations: 86.45 kB / 423.3 MB, free: 7.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.125, allocations: 4 kB / 423.3 MB, free: 7.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003415/0.1254, allocations: 109.5 kB / 423.4 MB, free: 7.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1254, allocations: 4 kB / 423.4 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1254, allocations: 3.938 kB / 423.4 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.1254, allocations: 8.094 kB / 423.4 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.1256, allocations: 23.91 kB / 423.4 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1256, allocations: 0 / 423.4 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.1257, allocations: 15.94 kB / 423.5 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.1257, allocations: 0 / 423.5 MB, free: 7.262 MB / 350.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.86e-05/0.1258, allocations: 117.8 kB / 423.6 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.1258, allocations: 7.953 kB / 423.6 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.384e-05/0.1258, allocations: 19.86 kB / 423.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1258, allocations: 0 / 423.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1258, allocations: 0 / 423.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1258, allocations: 0 / 423.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.126, allocations: 181.6 kB / 423.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.126, allocations: 3.938 kB / 423.8 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.1261, allocations: 19.97 kB / 423.8 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.1262, allocations: 4 kB / 423.8 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1262, allocations: 0 / 423.8 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1262, allocations: 0 / 423.8 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1262, allocations: 0 / 423.8 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003748/0.1265, allocations: 150.8 kB / 424 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/0.1266, allocations: 77.11 kB / 424 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.1266, allocations: 15.92 kB / 424 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.828e-05/0.1267, allocations: 11.98 kB / 424.1 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.1268, allocations: 4 kB / 424.1 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.1268, allocations: 4 kB / 424.1 MB, free: 6.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.053e-05/0.1268, allocations: 105.4 kB / 424.2 MB, free: 6.449 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1268, allocations: 0 / 424.2 MB, free: 6.449 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001944/0.127, allocations: 8 kB / 424.2 MB, free: 6.441 MB / 350.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.00016/0.1272, allocations: 99.72 kB / 424.3 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003521/0.1276, allocations: 67.88 kB / 424.3 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1276, allocations: 0 / 424.3 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.1277, allocations: 43.95 kB / 424.4 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.1279, allocations: 10.5 kB / 424.4 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005696/0.1284, allocations: 214.5 kB / 424.6 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.1288, allocations: 0.6922 MB / 425.3 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.1288, allocations: 15.42 kB / 425.3 MB, free: 5.238 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1288, allocations: 4 kB / 425.3 MB, free: 5.234 MB / 350.1 MB Notification: Performance of Templates: time 0.002677/0.1315, allocations: 0.89 MB / 426.2 MB, free: 4.348 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.39810710796155]