Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001862/0.001862, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002386/0.002386, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 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.485/1.485, allocations: 177.1 MB / 203.1 MB, free: 5.258 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.317/3.317, allocations: 429.6 MB / 0.673 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.8776 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.238e-05/3.376e-05, allocations: 6.25 kB / 0.8776 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.003027/0.003061, allocations: 1.461 MB / 0.879 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006488/0.00371, allocations: 244.6 kB / 0.8793 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.842e-05/0.003738, allocations: 0.875 kB / 0.8793 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.955e-05/0.003768, allocations: 5.094 kB / 0.8793 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.681e-05/0.003815, allocations: 8.094 kB / 0.8793 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003901/0.004205, allocations: 60.92 kB / 0.8793 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.348e-05/0.004278, allocations: 19.94 kB / 0.8793 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.649e-05/0.004355, allocations: 7.984 kB / 0.8794 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.59e-05/0.00441, allocations: 8.844 kB / 0.8794 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.637e-05/0.004447, allocations: 7.984 kB / 0.8794 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.004459, allocations: 7.375 kB / 0.8794 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.004645, allocations: 67.86 kB / 0.8794 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.004659, allocations: 0 / 0.8794 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.89e-05/0.004688, allocations: 8 kB / 0.8794 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.004872, allocations: 71.77 kB / 0.8795 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004874, allocations: 0 / 0.8795 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.01e-07/0.004874, allocations: 0 / 0.8795 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.004878, allocations: 0 / 0.8795 GB, free: 4.566 MB / 0.8386 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.0004984/0.005376, allocations: 270.2 kB / 0.8798 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.005416, allocations: 12.62 kB / 0.8798 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.815e-05/0.005474, allocations: 2.156 kB / 0.8798 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.005603, allocations: 109.8 kB / 0.8799 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.005615, allocations: 384 / 0.8799 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.005623, allocations: 384 / 0.8799 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.005813, allocations: 51.77 kB / 0.8799 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.005821, allocations: 192 / 0.8799 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.00583, allocations: 384 / 0.8799 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.005834, allocations: 1.531 kB / 0.8799 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.00602, allocations: 44.39 kB / 0.88 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.006352, allocations: 188.6 kB / 0.8802 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.00652, allocations: 42.59 kB / 0.8802 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.006622, allocations: 24.91 kB / 0.8802 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005848/0.007207, allocations: 71.91 kB / 0.8803 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.007248, allocations: 42.5 kB / 0.8803 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.007249, allocations: 0 / 0.8803 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0004256/0.007675, allocations: 81.58 kB / 0.8804 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.007723, allocations: 51.41 kB / 0.8805 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.007828, allocations: 105.8 kB / 0.8806 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.00785, allocations: 25.7 kB / 0.8806 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.007913, allocations: 84.14 kB / 0.8807 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.007933, allocations: 8.062 kB / 0.8807 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.007975, allocations: 17.72 kB / 0.8807 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.00815, allocations: 310.8 kB / 0.881 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.754e-05/0.008248, allocations: 19.98 kB / 0.881 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.008351, allocations: 15.92 kB / 0.881 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.008527, allocations: 48.75 kB / 0.8811 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.008529, allocations: 0 / 0.8811 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002194/0.008748, allocations: 65.72 kB / 0.8811 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.008762, allocations: 8 kB / 0.8811 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.008772, allocations: 3.938 kB / 0.8811 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.00879, allocations: 0 / 0.8811 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.513e-05/0.008875, allocations: 8 kB / 0.8812 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.00888, allocations: 0 / 0.8812 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.736e-05/0.008937, allocations: 11.92 kB / 0.8812 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.008944, allocations: 0 / 0.8812 GB, free: 2.703 MB / 0.8386 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 9.654e-05/0.00904, allocations: 113.8 kB / 0.8813 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.009073, allocations: 11.95 kB / 0.8813 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.009355, allocations: 72.89 kB / 0.8814 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.009358, allocations: 0 / 0.8814 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.009362, allocations: 0 / 0.8814 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.009368, allocations: 4 kB / 0.8814 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.009525, allocations: 105.3 kB / 0.8815 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.009526, allocations: 0 / 0.8815 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.562e-05/0.009592, allocations: 12.02 kB / 0.8815 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.009594, allocations: 0 / 0.8815 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.009601, allocations: 0 / 0.8815 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.009605, allocations: 7.938 kB / 0.8815 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.009606, allocations: 0 / 0.8815 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.009899, allocations: 163.5 kB / 0.8816 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-06/0.009905, allocations: 0 / 0.8816 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.009921, allocations: 3.984 kB / 0.8816 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.103e-05/0.01, allocations: 11.97 kB / 0.8817 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.01004, allocations: 4 kB / 0.8817 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.01005, allocations: 3.984 kB / 0.8817 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.436e-05/0.0101, allocations: 79.28 kB / 0.8817 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.0101, allocations: 0 / 0.8817 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002732/0.01038, allocations: 16 kB / 0.8817 GB, free: 2.043 MB / 0.8386 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.0002242/0.0106, allocations: 123.2 kB / 0.8819 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.01083, allocations: 35.97 kB / 0.8819 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01083, allocations: 0 / 0.8819 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.516e-05/0.01092, allocations: 23.84 kB / 0.8819 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.01119, allocations: 11.94 kB / 0.8819 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.01152, allocations: 108.6 kB / 0.882 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.703e-05/0.01159, allocations: 59.48 kB / 0.8821 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.506e-05/0.01162, allocations: 3.984 kB / 0.8821 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/0.01165, allocations: 12.5 kB / 0.8821 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of SimCode: time 5.21e-07/0.01165, allocations: 0 / 0.8821 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of Templates: time 0.003852/0.0155, allocations: 0.6895 MB / 0.8828 GB, free: 0.9297 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.221769704017788]