Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 210.9 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.851/1.851, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Blocks.Examples.CompareSincExpSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 47.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4202, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.003304/0.4235, allocations: 1.487 MB / 433.8 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.4246, allocations: 482.7 kB / 434.3 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.603e-05/0.4247, allocations: 4 kB / 434.3 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.644e-05/0.4247, allocations: 7.875 kB / 434.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.4248, allocations: 15.86 kB / 434.3 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.4251, allocations: 39.89 kB / 434.4 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.4253, allocations: 71.7 kB / 434.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.547e-05/0.4253, allocations: 192 / 434.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.4255, allocations: 47.78 kB / 434.5 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.05e-05/0.4256, allocations: 31.91 kB / 434.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.4256, allocations: 4 kB / 434.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.865e-05/0.4257, allocations: 15.94 kB / 434.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.6e-05/0.4257, allocations: 19.92 kB / 434.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.4257, allocations: 23.84 kB / 434.6 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.4259, allocations: 67.25 kB / 434.6 MB, free: 4.414 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4259, allocations: 0 / 434.6 MB, free: 4.414 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.4259, allocations: 0 / 434.6 MB, free: 4.414 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.4259, allocations: 0 / 434.6 MB, free: 4.414 MB / 334.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.000833/0.4267, allocations: 317.2 kB / 434.9 MB, free: 4.078 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.4268, allocations: 12.03 kB / 434.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004916/0.4273, allocations: 32.86 kB / 435 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.4275, allocations: 122.4 kB / 435.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.4275, allocations: 12.31 kB / 435.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.4276, allocations: 384 / 435.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004186/0.428, allocations: 84.34 kB / 435.2 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.428, allocations: 0 / 435.2 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.428, allocations: 8 kB / 435.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.428, allocations: 0 / 435.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004072/0.4284, allocations: 59.88 kB / 435.3 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002628/0.4287, allocations: 139.1 kB / 435.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004322/0.4291, allocations: 95.75 kB / 435.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/0.4294, allocations: 50.61 kB / 435.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.4294, allocations: 0 / 435.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.673e-05/0.4295, allocations: 38.56 kB / 435.6 MB, free: 3.316 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.4295, allocations: 0 / 435.6 MB, free: 3.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0009162/0.4304, allocations: 153.7 kB / 435.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.917e-05/0.4305, allocations: 102.8 kB / 435.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.4307, allocations: 136.4 kB / 436 MB, free: 2.895 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/0.4307, allocations: 29.7 kB / 436 MB, free: 2.859 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.884e-05/0.4308, allocations: 92.12 kB / 436.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.222e-05/0.4308, allocations: 15.84 kB / 436.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-05/0.4309, allocations: 21.7 kB / 436.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.4311, allocations: 314.8 kB / 436.4 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.4314, allocations: 31.97 kB / 436.5 MB, free: 2.375 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.4316, allocations: 50.56 kB / 436.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005335/0.4322, allocations: 82.45 kB / 436.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4322, allocations: 0 / 436.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0006525/0.4328, allocations: 117.5 kB / 436.7 MB, free: 2.105 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.4329, allocations: 7.938 kB / 436.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4329, allocations: 0 / 436.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.4329, allocations: 0 / 436.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.4331, allocations: 15.98 kB / 436.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/0.4331, allocations: 7.938 kB / 436.7 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.4333, allocations: 12.08 kB / 436.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.4333, allocations: 11.92 kB / 436.8 MB, free: 2.051 MB / 334.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 0.0002028/0.4335, allocations: 113.8 kB / 436.9 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.4336, allocations: 11.89 kB / 436.9 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.271e-05/0.4336, allocations: 15.92 kB / 436.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.4336, allocations: 0 / 436.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.4336, allocations: 0 / 436.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4336, allocations: 0 / 436.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.4338, allocations: 129.2 kB / 437 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4338, allocations: 0 / 437 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.434, allocations: 19.98 kB / 437 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-06/0.434, allocations: 7.984 kB / 437 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.434, allocations: 3.938 kB / 437.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.434, allocations: 0 / 437.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.434, allocations: 0 / 437.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/0.4345, allocations: 142.7 kB / 437.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.11e-05/0.4345, allocations: 11.95 kB / 437.2 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.4345, allocations: 11.92 kB / 437.2 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.4346, allocations: 8 kB / 437.2 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.4347, allocations: 7.984 kB / 437.2 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.4347, allocations: 3.938 kB / 437.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.041e-05/0.4348, allocations: 103.2 kB / 437.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4348, allocations: 0 / 437.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002871/0.4351, allocations: 12 kB / 437.3 MB, free: 1.391 MB / 334.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.0001182/0.4352, allocations: 91.25 kB / 437.4 MB, free: 1.293 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004787/0.4357, allocations: 75.88 kB / 437.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4357, allocations: 0 / 437.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.4359, allocations: 39.89 kB / 437.5 MB, free: 1.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.4361, allocations: 8 kB / 437.6 MB, free: 1.172 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006351/0.4367, allocations: 201.5 kB / 437.8 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.549e-05/0.4368, allocations: 71.28 kB / 437.8 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.37e-05/0.4369, allocations: 8.125 kB / 437.8 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.122e-05/0.4369, allocations: 11.42 kB / 437.8 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4369, allocations: 0 / 437.8 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of Templates: time 0.004044/0.441, allocations: 0.6718 MB / 438.5 MB, free: 172 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.220611040989752]