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.001974/0.001974, allocations: 107.1 kB / 20.44 MB, free: 1.172 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.001531/0.001531, allocations: 207.4 kB / 23.73 MB, free: 4.379 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.557/1.557, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.2349/0.2349, allocations: 46.95 MB / 360.9 MB, free: 4.012 MB / 286.1 MB " [Timeout remaining time 179] 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.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.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.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.1.0_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 71.88 kB / 0.4966 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3841, allocations: 66.04 MB / 0.5611 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.003003/0.3871, allocations: 1.537 MB / 0.5626 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002144/0.3873, allocations: 59.75 kB / 0.5626 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.435e-05/0.3873, allocations: 7.938 kB / 0.5626 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.3875, allocations: 27.78 kB / 0.5627 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.823e-05/0.3875, allocations: 7.938 kB / 0.5627 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001182/0.3876, allocations: 19.97 kB / 0.5627 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.3877, allocations: 67.89 kB / 0.5628 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.3879, allocations: 95.59 kB / 0.5628 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.762e-05/0.388, allocations: 31.86 kB / 0.5629 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.07e-05/0.3881, allocations: 47.83 kB / 0.5629 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.3881, allocations: 11.94 kB / 0.5629 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.664e-05/0.3881, allocations: 8 kB / 0.5629 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.152e-05/0.3882, allocations: 67.83 kB / 0.563 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.147e-05/0.3883, allocations: 51.72 kB / 0.5631 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.3884, allocations: 161.7 kB / 0.5632 GB, free: 1.953 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3884, allocations: 3.938 kB / 0.5632 GB, free: 1.949 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.3884, allocations: 0 / 0.5632 GB, free: 1.949 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.3885, allocations: 0 / 0.5632 GB, free: 1.949 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.0006724/0.3891, allocations: 366.2 kB / 0.5636 GB, free: 1.562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.3892, allocations: 8.031 kB / 0.5636 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.334e-05/0.3892, allocations: 16.84 kB / 0.5636 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.3895, allocations: 158.2 kB / 0.5637 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.3896, allocations: 16.75 kB / 0.5638 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.3896, allocations: 16.38 kB / 0.5638 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/0.39, allocations: 197.1 kB / 0.564 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.39, allocations: 3.938 kB / 0.564 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.3901, allocations: 4 kB / 0.564 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.3901, allocations: 7.938 kB / 0.564 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002647/0.3903, allocations: 127.3 kB / 0.5641 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007197/0.391, allocations: 389 kB / 0.5645 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.3912, allocations: 46.56 kB / 0.5645 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.398e-05/0.3912, allocations: 24.97 kB / 0.5645 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.3913, allocations: 0 / 0.5645 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.998e-05/0.3913, allocations: 46.42 kB / 0.5646 GB, free: 456 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 7.92e-07/0.3913, allocations: 0 / 0.5646 GB, free: 456 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003001/0.3916, allocations: 73.62 kB / 0.5646 GB, free: 376 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.3917, allocations: 55.41 kB / 0.5647 GB, free: 308 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.3918, allocations: 113.8 kB / 0.5648 GB, free: 184 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.3918, allocations: 25.7 kB / 0.5648 GB, free: 152 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.3919, allocations: 140.1 kB / 0.565 GB, free: 4 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.252e-05/0.392, allocations: 16.05 kB / 0.565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.867e-05/0.392, allocations: 21.7 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.3922, allocations: 314.8 kB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.609e-05/0.3922, allocations: 11.98 kB / 0.5653 GB, free: 15.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.566e-05/0.3923, allocations: 12 kB / 0.5653 GB, free: 15.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.286e-05/0.3923, allocations: 41.16 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3923, allocations: 0 / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001164/0.3925, allocations: 65.42 kB / 0.5654 GB, free: 15.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.3925, allocations: 8 kB / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3925, allocations: 0 / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3925, allocations: 0 / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.717e-05/0.3926, allocations: 8 kB / 0.5654 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.3926, allocations: 3.938 kB / 0.5654 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.053e-05/0.3926, allocations: 11.98 kB / 0.5655 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.3926, allocations: 0 / 0.5655 GB, free: 15.48 MB / 414.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.0001431/0.3928, allocations: 137.7 kB / 0.5656 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.3928, allocations: 11.89 kB / 0.5656 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.157e-05/0.3928, allocations: 12.05 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3928, allocations: 0 / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3928, allocations: 4 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.3928, allocations: 3.938 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003721/0.3932, allocations: 286.2 kB / 0.5659 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3932, allocations: 0 / 0.5659 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.992e-05/0.3932, allocations: 15.94 kB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3932, allocations: 0 / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.3932, allocations: 0 / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3932, allocations: 0 / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3932, allocations: 4 kB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.3935, allocations: 167.4 kB / 0.5661 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.789e-06/0.3935, allocations: 4.188 kB / 0.5661 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.3935, allocations: 4 kB / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.676e-05/0.3935, allocations: 3.984 kB / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/0.3936, allocations: 4 kB / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.3936, allocations: 0 / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.759e-05/0.3936, allocations: 91.27 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3936, allocations: 0 / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002259/0.3938, allocations: 23.84 kB / 0.5662 GB, free: 14.65 MB / 414.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.000103/0.3939, allocations: 103.2 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.3941, allocations: 27.98 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3941, allocations: 0 / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.407e-05/0.3941, allocations: 15.98 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.3944, allocations: 16.47 kB / 0.5664 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005348/0.395, allocations: 267.3 kB / 0.5666 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.3951, allocations: 122.1 kB / 0.5667 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.801e-05/0.3951, allocations: 3.781 kB / 0.5667 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.994e-05/0.3952, allocations: 11.44 kB / 0.5667 GB, free: 14.04 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3952, allocations: 0 / 0.5667 GB, free: 14.04 MB / 414.1 MB Notification: Performance of Templates: time 0.003144/0.3983, allocations: 0.7811 MB / 0.5675 GB, free: 13.28 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.3196295709349215]