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.001889/0.001889, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002038/0.002038, allocations: 169.6 kB / 24.28 MB, free: 152 kB / 18.57 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.565/1.565, allocations: 177.2 MB / 204.6 MB, free: 5.578 MB / 186.7 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 2.094e-06/2.094e-06, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.263e-05, allocations: 2.312 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.00291/0.002942, allocations: 1.523 MB / 273.8 MB, free: 304 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.003946, allocations: 482.8 kB / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.935e-05/0.004005, allocations: 0 / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.365e-05/0.004039, allocations: 11.86 kB / 274.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.004154, allocations: 23.69 kB / 274.3 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.004384, allocations: 39.89 kB / 274.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.004539, allocations: 75.64 kB / 274.4 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.004576, allocations: 192 / 274.4 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/0.00479, allocations: 47.84 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.647e-05/0.004867, allocations: 31.89 kB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.004892, allocations: 4 kB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.091e-05/0.004953, allocations: 19.98 kB / 274.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.00497, allocations: 4 kB / 274.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.583e-05/0.005006, allocations: 23.86 kB / 274.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.00518, allocations: 67.78 kB / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.686e-06/0.005182, allocations: 0 / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005183, allocations: 0 / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.005189, allocations: 0 / 274.6 MB, free: 15.48 MB / 266.7 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.000681/0.00587, allocations: 411.9 kB / 275 MB, free: 15.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.005915, allocations: 8.031 kB / 275.1 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003251/0.00624, allocations: 36.86 kB / 275.1 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.006436, allocations: 124.5 kB / 275.2 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.006451, allocations: 4.375 kB / 275.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.006465, allocations: 4.375 kB / 275.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.006694, allocations: 89.22 kB / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.006702, allocations: 192 / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.006715, allocations: 4.125 kB / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.006719, allocations: 0 / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002017/0.006921, allocations: 55.89 kB / 275.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002171/0.007138, allocations: 144.1 kB / 275.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.007389, allocations: 117.2 kB / 275.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.007514, allocations: 51.11 kB / 275.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.007534, allocations: 0 / 275.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.007573, allocations: 41.39 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.007574, allocations: 0 / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004526/0.008027, allocations: 121.5 kB / 275.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.473e-05/0.008112, allocations: 114.7 kB / 275.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.008358, allocations: 195.2 kB / 276.1 MB, free: 13.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.008379, allocations: 25.7 kB / 276.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.524e-05/0.008464, allocations: 138.9 kB / 276.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.459e-05/0.008508, allocations: 19.84 kB / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-05/0.008556, allocations: 23.36 kB / 276.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002602/0.008817, allocations: 0.4966 MB / 276.8 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.008926, allocations: 23.98 kB / 276.9 MB, free: 13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.009039, allocations: 50.98 kB / 276.9 MB, free: 12.94 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.00925, allocations: 70.97 kB / 277 MB, free: 12.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.009252, allocations: 0 / 277 MB, free: 12.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002701/0.009522, allocations: 101.5 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.009537, allocations: 4 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.009542, allocations: 0 / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.009555, allocations: 4 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.009685, allocations: 15.92 kB / 277.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.009698, allocations: 11.98 kB / 277.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.317e-05/0.009771, allocations: 4 kB / 277.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.009779, allocations: 0 / 277.1 MB, free: 12.71 MB / 266.7 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.0001335/0.009913, allocations: 164.6 kB / 277.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.009939, allocations: 15.94 kB / 277.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/0.009975, allocations: 11.97 kB / 277.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.009977, allocations: 0 / 277.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.009987, allocations: 7.938 kB / 277.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.00999, allocations: 0 / 277.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.01014, allocations: 140.6 kB / 277.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01014, allocations: 0 / 277.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.755e-05/0.01024, allocations: 15.98 kB / 277.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.01024, allocations: 0 / 277.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.01025, allocations: 0 / 277.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.01026, allocations: 8 kB / 277.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01026, allocations: 0 / 277.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.01058, allocations: 147.6 kB / 277.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/0.0106, allocations: 11.94 kB / 277.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.01062, allocations: 0 / 277.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.266e-05/0.01069, allocations: 4 kB / 277.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.269e-05/0.01076, allocations: 15.92 kB / 277.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.01077, allocations: 0 / 277.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001092/0.01088, allocations: 154.6 kB / 277.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01088, allocations: 4 kB / 277.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001926/0.01107, allocations: 8 kB / 277.8 MB, free: 11.95 MB / 266.7 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.0001224/0.01119, allocations: 95.19 kB / 277.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002859/0.01148, allocations: 67.58 kB / 278 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01148, allocations: 4 kB / 278 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.0116, allocations: 39.86 kB / 278 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.01178, allocations: 12.06 kB / 278 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005205/0.0123, allocations: 193.3 kB / 278.2 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.253e-05/0.01238, allocations: 71.58 kB / 278.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.344e-05/0.01244, allocations: 12.06 kB / 278.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.118e-05/0.01249, allocations: 20.48 kB / 278.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01249, allocations: 0 / 278.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of Templates: time 0.003422/0.01591, allocations: 0.6201 MB / 278.9 MB, free: 10.75 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins/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: 4.678028312046081]