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.001169/0.001169, allocations: 88.2 kB / 20.95 MB, free: 3.605 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.001534/0.001534, allocations: 169 kB / 24.24 MB, free: 316 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 1.134/1.134, allocations: 158.6 MB / 186 MB, free: 2.938 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.1618/0.1618, allocations: 32.38 MB / 270.7 MB, free: 14.77 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.382e-06/1.382e-06, allocations: 0 / 347.7 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.02e-05/3.158e-05, allocations: 2.312 kB / 347.7 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.001985/0.002017, allocations: 1.568 MB / 349.2 MB, free: 8.223 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001209/0.002138, allocations: 43.84 kB / 349.3 MB, free: 8.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.695e-05/0.002204, allocations: 7.938 kB / 349.3 MB, free: 8.172 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.00234, allocations: 23.78 kB / 349.3 MB, free: 8.148 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.044e-05/0.00236, allocations: 7.938 kB / 349.3 MB, free: 8.141 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001053/0.002466, allocations: 23.97 kB / 349.3 MB, free: 8.117 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.383e-05/0.00255, allocations: 67.81 kB / 349.4 MB, free: 8.051 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.002731, allocations: 83.61 kB / 349.5 MB, free: 7.965 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.991e-05/0.002781, allocations: 51.89 kB / 349.5 MB, free: 7.914 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.307e-05/0.002824, allocations: 39.88 kB / 349.6 MB, free: 7.875 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.002846, allocations: 8 kB / 349.6 MB, free: 7.867 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.659e-06/0.002856, allocations: 8 kB / 349.6 MB, free: 7.859 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.145e-05/0.002907, allocations: 63.81 kB / 349.6 MB, free: 7.797 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.253e-05/0.00295, allocations: 47.89 kB / 349.7 MB, free: 7.75 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.003068, allocations: 111.5 kB / 349.8 MB, free: 7.641 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.00307, allocations: 0 / 349.8 MB, free: 7.641 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.00307, allocations: 0 / 349.8 MB, free: 7.641 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.003075, allocations: 4 kB / 349.8 MB, free: 7.637 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.0003448/0.00342, allocations: 460.4 kB / 350.3 MB, free: 7.152 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.003456, allocations: 12.03 kB / 350.3 MB, free: 7.141 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.003504, allocations: 36.8 kB / 350.3 MB, free: 7.105 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.003629, allocations: 152.4 kB / 350.5 MB, free: 6.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.003643, allocations: 16.75 kB / 350.5 MB, free: 6.914 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.003658, allocations: 24.31 kB / 350.5 MB, free: 6.891 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.003822, allocations: 137.6 kB / 350.6 MB, free: 6.746 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.00383, allocations: 192 / 350.6 MB, free: 6.746 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.003844, allocations: 12.38 kB / 350.6 MB, free: 6.734 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.003853, allocations: 8.125 kB / 350.6 MB, free: 6.727 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.318e-05/0.003917, allocations: 51.33 kB / 350.7 MB, free: 6.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.00426, allocations: 452.2 kB / 351.1 MB, free: 6.199 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.781e-05/0.004308, allocations: 43.06 kB / 351.2 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.882e-05/0.004337, allocations: 23.8 kB / 351.2 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.633e-06/0.004343, allocations: 4 kB / 351.2 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.324e-05/0.004357, allocations: 33.39 kB / 351.2 MB, free: 6.07 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 7.71e-07/0.004357, allocations: 0 / 351.2 MB, free: 6.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000127/0.004484, allocations: 73.5 kB / 351.3 MB, free: 5.992 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.022e-05/0.004505, allocations: 51.41 kB / 351.4 MB, free: 5.93 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.134e-05/0.004556, allocations: 165.9 kB / 351.5 MB, free: 5.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.548e-06/0.004561, allocations: 29.7 kB / 351.6 MB, free: 5.715 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.342e-05/0.004594, allocations: 186.9 kB / 351.7 MB, free: 5.527 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.00461, allocations: 11.91 kB / 351.7 MB, free: 5.516 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/0.00463, allocations: 27.36 kB / 351.8 MB, free: 5.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.952e-05/0.00467, allocations: 0.4884 MB / 352.3 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.00468, allocations: 4 kB / 352.3 MB, free: 4.977 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.417e-06/0.00469, allocations: 7.984 kB / 352.3 MB, free: 4.969 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.282e-05/0.004712, allocations: 23.69 kB / 352.3 MB, free: 4.941 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.004714, allocations: 384 / 352.3 MB, free: 4.941 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 3.803e-05/0.004752, allocations: 57.59 kB / 352.4 MB, free: 4.879 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.004764, allocations: 8 kB / 352.4 MB, free: 4.871 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.004769, allocations: 3.984 kB / 352.4 MB, free: 4.867 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.004781, allocations: 3.938 kB / 352.4 MB, free: 4.863 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.606e-05/0.004837, allocations: 12 kB / 352.4 MB, free: 4.852 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.004841, allocations: 0 / 352.4 MB, free: 4.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.037e-05/0.004852, allocations: 0 / 352.4 MB, free: 4.852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.004857, allocations: 4 kB / 352.4 MB, free: 4.848 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 3.896e-05/0.004895, allocations: 160.5 kB / 352.5 MB, free: 4.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.004908, allocations: 7.953 kB / 352.5 MB, free: 4.672 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.898e-05/0.004927, allocations: 12.11 kB / 352.6 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.004928, allocations: 3.938 kB / 352.6 MB, free: 4.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.004932, allocations: 0 / 352.6 MB, free: 4.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.004934, allocations: 3.938 kB / 352.6 MB, free: 4.656 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.005095, allocations: 345.5 kB / 352.9 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.005096, allocations: 0 / 352.9 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.926e-05/0.005115, allocations: 8 kB / 352.9 MB, free: 4.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.005117, allocations: 3.938 kB / 352.9 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.005123, allocations: 0 / 352.9 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.005124, allocations: 3.938 kB / 352.9 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.005125, allocations: 4 kB / 352.9 MB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.621e-05/0.005181, allocations: 195.9 kB / 353.1 MB, free: 4.047 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-06/0.005187, allocations: 7.953 kB / 353.1 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.005196, allocations: 7.922 kB / 353.1 MB, free: 4.031 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.399e-05/0.00522, allocations: 0 / 353.1 MB, free: 4.031 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.005245, allocations: 8 kB / 353.1 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.005247, allocations: 192 / 353.1 MB, free: 4.023 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.045e-05/0.005268, allocations: 131.5 kB / 353.3 MB, free: 3.895 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005268, allocations: 3.938 kB / 353.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001379/0.005406, allocations: 27.84 kB / 353.3 MB, free: 3.863 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 5.259e-05/0.005458, allocations: 87.25 kB / 353.4 MB, free: 3.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.248e-05/0.005531, allocations: 39.61 kB / 353.4 MB, free: 3.727 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.005532, allocations: 0 / 353.4 MB, free: 3.727 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.542e-05/0.005548, allocations: 19.69 kB / 353.4 MB, free: 3.703 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.005728, allocations: 18.45 kB / 353.5 MB, free: 3.688 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/0.006087, allocations: 287.2 kB / 353.7 MB, free: 3.371 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.634e-05/0.006123, allocations: 83.31 kB / 353.8 MB, free: 3.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.718e-05/0.00614, allocations: 0 / 353.8 MB, free: 3.27 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.983e-05/0.00616, allocations: 12.5 kB / 353.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.006161, allocations: 0 / 353.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of Templates: time 0.002101/0.008262, allocations: 0.7022 MB / 354.5 MB, free: 2.57 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.399056653957814]