Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 112.4 kB / 21.1 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 189.5 kB / 24.36 MB, free: 4.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 225.6 MB / 253 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2249/0.2249, allocations: 44.91 MB / 353.2 MB, free: 11.87 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.1.|mux5.y.2.|mux5.y.3.|mux5.y.4.|mux5.y.5.|demux5.y.1.|demux5.y.2.|demux5.y.3.|demux5.y.4.|demux5.y.5.|mux3.y.1.|mux3.y.2.|mux3.y.3.|mux2.y.1.|mux2.y.2.|demux2.y.1.|demux2.y.2.|demux3.y.1.|demux3.y.2.|demux3.y.3.",fileNamePrefix="ModelicaTest_4.0.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.1.|mux5.y.2.|mux5.y.3.|mux5.y.4.|mux5.y.5.|demux5.y.1.|demux5.y.2.|demux5.y.3.|demux5.y.4.|demux5.y.5.|mux3.y.1.|mux3.y.2.|mux3.y.3.|mux2.y.1.|mux2.y.2.|demux2.y.1.|demux2.y.2.|demux3.y.1.|demux3.y.2.|demux3.y.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 63.91 kB / 497.3 MB, free: 1.137 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4119, allocations: 64.3 MB / 0.5484 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.00307/0.415, allocations: 1.562 MB / 0.55 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001511/0.4151, allocations: 45.28 kB / 0.55 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.648e-05/0.4152, allocations: 5.469 kB / 0.55 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.4154, allocations: 26.72 kB / 0.55 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.685e-05/0.4154, allocations: 3.938 kB / 0.55 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001012/0.4155, allocations: 20.22 kB / 0.55 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.4156, allocations: 72.47 kB / 0.5501 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002785/0.4159, allocations: 89.72 kB / 0.5502 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.801e-05/0.416, allocations: 43.61 kB / 0.5502 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.112e-05/0.416, allocations: 42.94 kB / 0.5503 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.416, allocations: 8.438 kB / 0.5503 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.543e-05/0.4161, allocations: 8.125 kB / 0.5503 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.242e-05/0.4162, allocations: 67.97 kB / 0.5504 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.807e-05/0.4162, allocations: 63.33 kB / 0.5504 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.4164, allocations: 152.5 kB / 0.5506 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4164, allocations: 1.375 kB / 0.5506 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4164, allocations: 0 / 0.5506 GB, free: 11.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.4164, allocations: 4 kB / 0.5506 GB, free: 11.44 MB / 398.1 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.0005521/0.417, allocations: 362 kB / 0.5509 GB, free: 11.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.417, allocations: 9.828 kB / 0.5509 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.181e-05/0.4171, allocations: 21.61 kB / 0.551 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.4173, allocations: 155.6 kB / 0.5511 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.4173, allocations: 12.81 kB / 0.5511 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/0.4174, allocations: 20.41 kB / 0.5511 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003728/0.4177, allocations: 194 kB / 0.5513 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.4178, allocations: 7.875 kB / 0.5513 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.4178, allocations: 13.33 kB / 0.5513 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.4178, allocations: 5.406 kB / 0.5513 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002585/0.418, allocations: 129.7 kB / 0.5515 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007907/0.4188, allocations: 451.1 kB / 0.5519 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.419, allocations: 43.78 kB / 0.5519 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.79e-05/0.419, allocations: 29.84 kB / 0.552 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.419, allocations: 1.125 kB / 0.552 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.4191, allocations: 35.62 kB / 0.552 GB, free: 10.24 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.4191, allocations: 0 / 0.552 GB, free: 10.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002899/0.4194, allocations: 78.06 kB / 0.5521 GB, free: 10.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.4194, allocations: 56.66 kB / 0.5521 GB, free: 10.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.4196, allocations: 107.1 kB / 0.5522 GB, free: 10.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.4196, allocations: 26.92 kB / 0.5523 GB, free: 9.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.4197, allocations: 136.5 kB / 0.5524 GB, free: 9.852 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.4197, allocations: 14.12 kB / 0.5524 GB, free: 9.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.4198, allocations: 21.36 kB / 0.5524 GB, free: 9.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.4199, allocations: 312.1 kB / 0.5527 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.705e-05/0.42, allocations: 18.8 kB / 0.5527 GB, free: 9.492 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.39e-05/0.42, allocations: 11.09 kB / 0.5527 GB, free: 9.488 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.589e-05/0.4201, allocations: 33.56 kB / 0.5528 GB, free: 9.469 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4201, allocations: 0 / 0.5528 GB, free: 9.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001408/0.4203, allocations: 75.42 kB / 0.5529 GB, free: 9.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.4203, allocations: 8.641 kB / 0.5529 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.4203, allocations: 1.031 kB / 0.5529 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.4203, allocations: 0 / 0.5529 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.174e-05/0.4204, allocations: 8.281 kB / 0.5529 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.4204, allocations: 5.25 kB / 0.5529 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.492e-05/0.4204, allocations: 1.281 kB / 0.5529 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.4204, allocations: 1.594 kB / 0.5529 GB, free: 9.402 MB / 398.1 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 0.000148/0.4206, allocations: 143.4 kB / 0.553 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.4206, allocations: 10.14 kB / 0.553 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.49e-05/0.4207, allocations: 9.156 kB / 0.553 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4207, allocations: 1.156 kB / 0.553 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.4207, allocations: 0 / 0.553 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.4207, allocations: 7.984 kB / 0.553 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000436/0.4211, allocations: 334.9 kB / 0.5534 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4211, allocations: 0 / 0.5534 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.059e-05/0.4211, allocations: 8.344 kB / 0.5534 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.4211, allocations: 1.094 kB / 0.5534 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.4212, allocations: 0 / 0.5534 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.4212, allocations: 5.172 kB / 0.5534 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4212, allocations: 0 / 0.5534 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.4214, allocations: 166.4 kB / 0.5535 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.194e-05/0.4214, allocations: 6.047 kB / 0.5535 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.4214, allocations: 5.375 kB / 0.5535 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.391e-05/0.4214, allocations: 5.297 kB / 0.5535 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.4215, allocations: 2.406 kB / 0.5536 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.4215, allocations: 5 kB / 0.5536 GB, free: 8.742 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.451e-05/0.4216, allocations: 92.91 kB / 0.5536 GB, free: 8.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4216, allocations: 0 / 0.5536 GB, free: 8.656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002328/0.4218, allocations: 33.75 kB / 0.5537 GB, free: 8.637 MB / 398.1 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 0.000122/0.4219, allocations: 91.22 kB / 0.5538 GB, free: 8.551 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001589/0.4221, allocations: 34.58 kB / 0.5538 GB, free: 8.535 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4221, allocations: 0 / 0.5538 GB, free: 8.535 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.412e-05/0.4221, allocations: 22.89 kB / 0.5538 GB, free: 8.523 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.4225, allocations: 14.45 kB / 0.5538 GB, free: 8.516 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006709/0.4232, allocations: 269.8 kB / 0.5541 GB, free: 8.309 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.4237, allocations: 0.7277 MB / 0.5548 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.427e-05/0.4237, allocations: 7.453 kB / 0.5548 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.4237, allocations: 10.31 kB / 0.5548 GB, free: 7.574 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4237, allocations: 0 / 0.5548 GB, free: 7.574 MB / 398.1 MB Notification: Performance of Templates: time 0.003703/0.4275, allocations: 0.7088 MB / 0.5555 GB, free: 7.219 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.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: 5.200758183375001]