Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.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.001362/0.001362, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.001453/0.001453, allocations: 165.9 kB / 22.45 MB, free: 5.375 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.516/1.516, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.821/2.821, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) 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(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.833e-05, allocations: 8.891 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002488/0.002516, allocations: 1.46 MB / 0.9829 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005614/0.003077, allocations: 247.1 kB / 0.9831 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.759e-05/0.003105, allocations: 0 / 0.9831 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.561e-05/0.00313, allocations: 3.938 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.625e-05/0.003167, allocations: 0 / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.003508, allocations: 59.77 kB / 0.9831 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.638e-05/0.003575, allocations: 27.91 kB / 0.9832 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.052e-05/0.003665, allocations: 4 kB / 0.9832 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.902e-05/0.003714, allocations: 15.98 kB / 0.9832 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.513e-05/0.003749, allocations: 7.938 kB / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.003763, allocations: 4 kB / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.003905, allocations: 59.88 kB / 0.9833 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.003917, allocations: 3.938 kB / 0.9833 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.003944, allocations: 15.97 kB / 0.9833 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.004096, allocations: 59.84 kB / 0.9833 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.004098, allocations: 0 / 0.9833 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of FrontEnd: time 6.91e-07/0.004098, allocations: 0 / 0.9833 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.004101, allocations: 0 / 0.9833 GB, free: 9.98 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004458/0.004547, allocations: 278.2 kB / 0.9836 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.004579, allocations: 8.031 kB / 0.9836 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.004608, allocations: 4.891 kB / 0.9836 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.729e-05/0.004706, allocations: 109.7 kB / 0.9837 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.004718, allocations: 4.359 kB / 0.9837 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.004726, allocations: 384 / 0.9837 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.004897, allocations: 46.25 kB / 0.9838 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.004904, allocations: 192 / 0.9838 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.004911, allocations: 384 / 0.9838 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.004917, allocations: 8.359 kB / 0.9838 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.005101, allocations: 43.83 kB / 0.9838 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.005385, allocations: 192.6 kB / 0.984 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.005521, allocations: 34.56 kB / 0.984 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.818e-05/0.00562, allocations: 20.91 kB / 0.9841 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005266/0.006146, allocations: 83.91 kB / 0.9841 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.006176, allocations: 34.5 kB / 0.9842 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.006177, allocations: 0 / 0.9842 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003692/0.006546, allocations: 85.58 kB / 0.9843 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.006585, allocations: 51.53 kB / 0.9843 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.85e-05/0.006663, allocations: 105.9 kB / 0.9844 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.006683, allocations: 25.7 kB / 0.9844 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.006731, allocations: 88.08 kB / 0.9845 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.316e-05/0.006744, allocations: 0 / 0.9845 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.006782, allocations: 17.72 kB / 0.9845 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.006914, allocations: 310.8 kB / 0.9848 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.437e-05/0.007009, allocations: 23.98 kB / 0.9848 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.211e-05/0.007091, allocations: 15.97 kB / 0.9849 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.007262, allocations: 44.83 kB / 0.9849 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.007263, allocations: 0 / 0.9849 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002229/0.007486, allocations: 65.61 kB / 0.985 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.007501, allocations: 8 kB / 0.985 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.007507, allocations: 3.938 kB / 0.985 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.007518, allocations: 0 / 0.985 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.477e-05/0.007602, allocations: 15.95 kB / 0.985 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.007609, allocations: 4 kB / 0.985 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.955e-05/0.007659, allocations: 7.938 kB / 0.985 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.007664, allocations: 4 kB / 0.985 GB, free: 8.094 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 7.726e-05/0.007741, allocations: 109.8 kB / 0.9851 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.007767, allocations: 4 kB / 0.9851 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/0.008005, allocations: 80.78 kB / 0.9852 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.008006, allocations: 0 / 0.9852 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.008009, allocations: 4.031 kB / 0.9852 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.008011, allocations: 0 / 0.9852 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.008145, allocations: 101.3 kB / 0.9853 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.008146, allocations: 0 / 0.9853 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.079e-05/0.008207, allocations: 12 kB / 0.9853 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.008208, allocations: 0 / 0.9853 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.008214, allocations: 0 / 0.9853 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.008219, allocations: 7.922 kB / 0.9853 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.00822, allocations: 0 / 0.9853 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.008478, allocations: 167.5 kB / 0.9855 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.333e-06/0.008485, allocations: 3.953 kB / 0.9855 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.008496, allocations: 0 / 0.9855 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.448e-05/0.008581, allocations: 7.938 kB / 0.9855 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.008612, allocations: 3.984 kB / 0.9855 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.00862, allocations: 8 kB / 0.9855 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.021e-05/0.00866, allocations: 75.28 kB / 0.9856 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.00866, allocations: 4 kB / 0.9856 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002433/0.008903, allocations: 12 kB / 0.9856 GB, free: 7.445 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.0001924/0.009096, allocations: 119.2 kB / 0.9857 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002209/0.009316, allocations: 39.95 kB / 0.9857 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.009318, allocations: 0 / 0.9857 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.739e-05/0.009416, allocations: 23.98 kB / 0.9858 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.009642, allocations: 8 kB / 0.9858 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.009897, allocations: 104.9 kB / 0.9859 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.244e-05/0.009959, allocations: 59.34 kB / 0.9859 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.799e-05/0.009977, allocations: 336 / 0.9859 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.218e-05/0.01, allocations: 8.5 kB / 0.9859 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of SimCode: time 4.1e-07/0.01, allocations: 4 kB / 0.9859 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of Templates: time 0.003126/0.01313, allocations: 0.6965 MB / 0.9866 GB, free: 6.344 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.977345816791058]