Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.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.0007076/0.0007076, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001013/0.00172, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006965/0.0006965, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008691/0.001566, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9761/0.9761, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08327/1.059, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2565/0.2565, allocations: 34.25 MB / 278.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02582/0.2823, allocations: 13.1 MB / 291.5 MB, free: 7.348 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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(ModelicaTest.Blocks.MuxDemux,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|y1|y2|y3|y4|y5|clock.y|mux5.y.[0-9,]+.|demux5.y.[0-9,]+.|mux3.y.[0-9,]+.|mux2.y.[0-9,]+.|demux2.y.[0-9,]+.|demux3.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux") translateModel(ModelicaTest.Blocks.MuxDemux,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|y1|y2|y3|y4|y5|clock.y|mux5.y.[0-9,]+.|demux5.y.[0-9,]+.|mux3.y.[0-9,]+.|mux2.y.[0-9,]+.|demux2.y.[0-9,]+.|demux3.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 292.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.965e-05/3.147e-05, allocations: 4.172 kB / 292.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.003065/0.003096, allocations: 1.626 MB / 294.5 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001841/0.00328, allocations: 75.62 kB / 294.5 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.216e-05/0.003342, allocations: 3.938 kB / 294.5 MB, free: 4.512 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.003444, allocations: 23.84 kB / 294.6 MB, free: 4.488 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.357e-05/0.003467, allocations: 3.938 kB / 294.6 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.003617, allocations: 27.97 kB / 294.6 MB, free: 4.457 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.003736, allocations: 67.81 kB / 294.7 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002455/0.003981, allocations: 88.19 kB / 294.7 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.004087, allocations: 55.94 kB / 294.8 MB, free: 4.238 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.593e-05/0.004173, allocations: 31.91 kB / 294.8 MB, free: 4.207 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.624e-05/0.004209, allocations: 8 kB / 294.8 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.121e-05/0.00423, allocations: 12 kB / 294.8 MB, free: 4.188 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.676e-05/0.004327, allocations: 63.81 kB / 294.9 MB, free: 4.125 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.319e-05/0.00438, allocations: 31.88 kB / 294.9 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.004562, allocations: 111.5 kB / 295.1 MB, free: 3.984 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.415e-05/0.004576, allocations: 0 / 295.1 MB, free: 3.984 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.004578, allocations: 0 / 295.1 MB, free: 3.984 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.00459, allocations: 0 / 295.1 MB, free: 3.984 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0004981/0.005088, allocations: 365.5 kB / 295.4 MB, free: 3.605 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.005126, allocations: 8.031 kB / 295.4 MB, free: 3.598 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/0.005178, allocations: 28.92 kB / 295.4 MB, free: 3.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.005322, allocations: 149.5 kB / 295.6 MB, free: 3.398 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.005337, allocations: 20.75 kB / 295.6 MB, free: 3.379 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.005358, allocations: 20.31 kB / 295.6 MB, free: 3.359 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.005514, allocations: 131.4 kB / 295.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.005521, allocations: 192 / 295.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.005532, allocations: 8.375 kB / 295.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.005541, allocations: 12.12 kB / 295.8 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.534e-05/0.005576, allocations: 35.11 kB / 295.8 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.005924, allocations: 333.4 kB / 296.1 MB, free: 2.832 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.373e-05/0.005978, allocations: 30.56 kB / 296.2 MB, free: 2.793 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.232e-05/0.006, allocations: 20.84 kB / 296.2 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.006014, allocations: 0 / 296.2 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.006039, allocations: 30.56 kB / 296.2 MB, free: 2.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 8.71e-07/0.00604, allocations: 0 / 296.2 MB, free: 2.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001387/0.006178, allocations: 53.75 kB / 296.3 MB, free: 2.672 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.006211, allocations: 55.34 kB / 296.3 MB, free: 2.605 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.238e-05/0.006273, allocations: 114.7 kB / 296.4 MB, free: 2.48 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.006284, allocations: 25.7 kB / 296.5 MB, free: 2.449 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.006336, allocations: 140.2 kB / 296.6 MB, free: 2.309 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.006361, allocations: 19.84 kB / 296.6 MB, free: 2.289 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.006386, allocations: 17.7 kB / 296.6 MB, free: 2.266 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.86e-05/0.006464, allocations: 314.8 kB / 296.9 MB, free: 1.949 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.677e-06/0.006473, allocations: 8 kB / 297 MB, free: 1.941 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.446e-06/0.006482, allocations: 7.938 kB / 297 MB, free: 1.934 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.73e-05/0.006509, allocations: 21.16 kB / 297 MB, free: 1.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.006511, allocations: 0 / 297 MB, free: 1.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.09e-05/0.006562, allocations: 45.69 kB / 297 MB, free: 1.859 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.006577, allocations: 8 kB / 297 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.006583, allocations: 0 / 297 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.006597, allocations: 4 kB / 297 MB, free: 1.848 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.534e-05/0.006682, allocations: 8 kB / 297 MB, free: 1.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.006687, allocations: 3.938 kB / 297 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.367e-05/0.006701, allocations: 4 kB / 297.1 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.00671, allocations: 8.297 kB / 297.1 MB, free: 1.824 MB / 282.7 MB 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 (5): * Single equations (assignments): 5 * 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 6.523e-05/0.006775, allocations: 112.7 kB / 297.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.006788, allocations: 4 kB / 297.2 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.511e-05/0.006813, allocations: 8.125 kB / 297.2 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.006816, allocations: 7.938 kB / 297.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.00682, allocations: 3.938 kB / 297.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.006824, allocations: 4 kB / 297.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.006995, allocations: 218.8 kB / 297.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.006996, allocations: 0 / 297.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.283e-05/0.007029, allocations: 12 kB / 297.4 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-06/0.007036, allocations: 11.91 kB / 297.4 MB, free: 1.414 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.007038, allocations: 0 / 297.4 MB, free: 1.414 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-06/0.007043, allocations: 3.938 kB / 297.4 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.007044, allocations: 4 kB / 297.4 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.007045, allocations: 0 / 297.4 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.379e-05/0.007119, allocations: 135.5 kB / 297.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.316e-06/0.007127, allocations: 8 kB / 297.6 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.487e-05/0.007152, allocations: 192 / 297.6 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.402e-05/0.007166, allocations: 7.922 kB / 297.6 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.00717, allocations: 8 kB / 297.6 MB, free: 1.234 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.387e-05/0.007184, allocations: 12.84 kB / 297.6 MB, free: 1.219 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007184, allocations: 0 / 297.6 MB, free: 1.219 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001206/0.007305, allocations: 35.78 kB / 297.6 MB, free: 1.184 MB / 282.7 MB 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 (5): * Single equations (assignments): 5 * 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 8.426e-05/0.007389, allocations: 76.34 kB / 297.7 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.822e-05/0.007457, allocations: 24.8 kB / 297.7 MB, free: 1.074 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.007463, allocations: 0 / 297.7 MB, free: 1.074 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.965e-05/0.007482, allocations: 28.83 kB / 297.8 MB, free: 1.043 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.007702, allocations: 174.2 kB / 297.9 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004964/0.008199, allocations: 262.6 kB / 298.2 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.807e-05/0.008257, allocations: 83.31 kB / 298.3 MB, free: 460 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.046e-05/0.008297, allocations: 7.984 kB / 298.3 MB, free: 452 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.056e-05/0.008368, allocations: 63.36 kB / 298.4 MB, free: 388 kB / 282.7 MB Notification: Performance of SimCode: time 1.212e-06/0.008369, allocations: 0 / 298.4 MB, free: 388 kB / 282.7 MB Notification: Performance of Templates: time 0.002856/0.01122, allocations: 0.7619 MB / 299.1 MB, free: 15.64 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7161868270486593]