Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001466/0.001466, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001539/0.001539, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9309/0.9309, allocations: 158.6 MB / 185.9 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1844/0.1844, allocations: 32.37 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 348.1 MB, free: 9.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.281e-05, allocations: 8.219 kB / 348.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002282/0.002305, allocations: 1.568 MB / 349.7 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001507/0.002456, allocations: 47.72 kB / 349.7 MB, free: 7.562 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.762e-05/0.002523, allocations: 4 kB / 349.7 MB, free: 7.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.002664, allocations: 19.84 kB / 349.7 MB, free: 7.539 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.031e-05/0.002694, allocations: 7.938 kB / 349.8 MB, free: 7.531 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001232/0.002817, allocations: 27.95 kB / 349.8 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.949e-05/0.002917, allocations: 67.81 kB / 349.8 MB, free: 7.438 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.003114, allocations: 75.62 kB / 349.9 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.623e-05/0.00318, allocations: 59.88 kB / 350 MB, free: 7.301 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.108e-05/0.003231, allocations: 35.89 kB / 350 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.003253, allocations: 8 kB / 350 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.35e-05/0.003266, allocations: 8 kB / 350 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.409e-05/0.00333, allocations: 63.81 kB / 350.1 MB, free: 7.188 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.984e-05/0.00338, allocations: 39.91 kB / 350.1 MB, free: 7.148 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.003521, allocations: 123.5 kB / 350.3 MB, free: 7.027 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.003523, allocations: 0 / 350.3 MB, free: 7.027 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003524, allocations: 4 kB / 350.3 MB, free: 7.023 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.003528, allocations: 0 / 350.3 MB, free: 7.023 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.0003707/0.003899, allocations: 464.4 kB / 350.7 MB, free: 6.535 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.003951, allocations: 12.02 kB / 350.7 MB, free: 6.523 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.004002, allocations: 32.8 kB / 350.8 MB, free: 6.492 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.00413, allocations: 144.4 kB / 350.9 MB, free: 6.324 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.004148, allocations: 20.69 kB / 350.9 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.004169, allocations: 16.38 kB / 350.9 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.004368, allocations: 129.6 kB / 351.1 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.004378, allocations: 192 / 351.1 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.004393, allocations: 8.375 kB / 351.1 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.004405, allocations: 8.125 kB / 351.1 MB, free: 6.137 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.442e-05/0.004469, allocations: 39.34 kB / 351.1 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.004891, allocations: 432.8 kB / 351.5 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.29e-05/0.004944, allocations: 38.98 kB / 351.6 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.004968, allocations: 23.66 kB / 351.6 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.004975, allocations: 0 / 351.6 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.004994, allocations: 37.52 kB / 351.6 MB, free: 5.523 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.004995, allocations: 0 / 351.6 MB, free: 5.523 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001229/0.005118, allocations: 57.78 kB / 351.7 MB, free: 5.461 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.057e-05/0.005139, allocations: 63.33 kB / 351.8 MB, free: 5.387 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.864e-05/0.005197, allocations: 169.9 kB / 351.9 MB, free: 5.203 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.851e-06/0.005203, allocations: 25.7 kB / 351.9 MB, free: 5.172 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.882e-05/0.005252, allocations: 186.9 kB / 352.1 MB, free: 4.984 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.005272, allocations: 15.91 kB / 352.1 MB, free: 4.969 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.005299, allocations: 23.38 kB / 352.2 MB, free: 4.938 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.084e-05/0.00536, allocations: 0.4884 MB / 352.7 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.212e-05/0.005372, allocations: 4 kB / 352.7 MB, free: 4.434 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.08e-05/0.005383, allocations: 8.062 kB / 352.7 MB, free: 4.426 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.936e-05/0.005413, allocations: 23.62 kB / 352.7 MB, free: 4.398 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.005414, allocations: 4 kB / 352.7 MB, free: 4.395 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.408e-05/0.005478, allocations: 49.64 kB / 352.7 MB, free: 4.34 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.00549, allocations: 8 kB / 352.7 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.005495, allocations: 0 / 352.7 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.00551, allocations: 0 / 352.7 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.819e-05/0.005578, allocations: 11.94 kB / 352.8 MB, free: 4.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-06/0.005581, allocations: 0 / 352.8 MB, free: 4.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.816e-05/0.005599, allocations: 3.984 kB / 352.8 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.005604, allocations: 4 kB / 352.8 MB, free: 4.312 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 5.901e-05/0.005663, allocations: 160.5 kB / 352.9 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.005687, allocations: 15.89 kB / 352.9 MB, free: 4.129 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.26e-05/0.005709, allocations: 4.125 kB / 352.9 MB, free: 4.129 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.005711, allocations: 0 / 352.9 MB, free: 4.129 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.005714, allocations: 7.938 kB / 352.9 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.005716, allocations: 0 / 352.9 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.005922, allocations: 302.1 kB / 353.2 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.005923, allocations: 0 / 353.2 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-05/0.005961, allocations: 15.92 kB / 353.3 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.005963, allocations: 3.938 kB / 353.3 MB, free: 3.773 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-06/0.005968, allocations: 256 / 353.3 MB, free: 3.773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.005972, allocations: 12.25 kB / 353.3 MB, free: 3.762 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.005974, allocations: 4 kB / 353.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.164e-05/0.006045, allocations: 191.9 kB / 353.5 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-06/0.006052, allocations: 3.953 kB / 353.5 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-06/0.006062, allocations: 8 kB / 353.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.592e-05/0.006108, allocations: 3.938 kB / 353.5 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.373e-05/0.006132, allocations: 3.984 kB / 353.5 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.006135, allocations: 4 kB / 353.5 MB, free: 3.527 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.235e-05/0.006157, allocations: 131.2 kB / 353.6 MB, free: 3.398 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.006157, allocations: 0 / 353.6 MB, free: 3.398 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002339/0.006391, allocations: 23.84 kB / 353.6 MB, free: 3.375 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 6.703e-05/0.006458, allocations: 103.2 kB / 353.7 MB, free: 3.266 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.42e-05/0.006532, allocations: 23.67 kB / 353.8 MB, free: 3.238 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.006534, allocations: 0 / 353.8 MB, free: 3.238 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.483e-05/0.006559, allocations: 15.69 kB / 353.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.006815, allocations: 15.98 kB / 353.8 MB, free: 3.203 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004389/0.007254, allocations: 279.1 kB / 354.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.923e-05/0.007303, allocations: 79.31 kB / 354.1 MB, free: 2.797 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.717e-05/0.00733, allocations: 0 / 354.1 MB, free: 2.797 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.667e-05/0.007387, allocations: 86.19 kB / 354.2 MB, free: 2.711 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.007388, allocations: 4 kB / 354.2 MB, free: 2.707 MB / 282.7 MB Notification: Performance of Templates: time 0.002928/0.01032, allocations: 0.7833 MB / 355 MB, free: 1.945 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.068304697982967]