Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009965/0.0009964, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.23/1.23, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009906/0.0009904, allocations: 98.95 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009496/0.0009501, allocations: 43.92 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2051, allocations: 46.62 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002622/0.2078, allocations: 1.615 MB / 375.4 MB, free: 44.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.2094, allocations: 0.9269 MB / 376.4 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.684e-05/0.2095, allocations: 5.188 kB / 376.4 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.323e-05/0.2096, allocations: 14.39 kB / 376.4 MB, free: 43.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.985e-05/0.2097, allocations: 12.45 kB / 376.4 MB, free: 43.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.21, allocations: 56.88 kB / 376.4 MB, free: 43.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.2101, allocations: 128.9 kB / 376.6 MB, free: 43.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.2102, allocations: 26.92 kB / 376.6 MB, free: 43.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006101/0.2108, allocations: 0.6241 MB / 377.2 MB, free: 43.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.211, allocations: 91.86 kB / 377.3 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.965e-05/0.211, allocations: 5.25 kB / 377.3 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.904e-05/0.2111, allocations: 9.406 kB / 377.3 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.768e-05/0.2112, allocations: 78.89 kB / 377.4 MB, free: 43.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.2113, allocations: 129.1 kB / 377.5 MB, free: 43.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003196/0.2116, allocations: 450.8 kB / 378 MB, free: 42.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2116, allocations: 0 / 378 MB, free: 42.9 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.2117, allocations: 0 / 378 MB, free: 42.9 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.2117, allocations: 1.156 kB / 378 MB, free: 42.9 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000731/0.2124, allocations: 0.8144 MB / 378.8 MB, free: 42.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.2124, allocations: 9.562 kB / 378.8 MB, free: 42.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.718e-05/0.2125, allocations: 42.5 kB / 378.8 MB, free: 42.1 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.2128, allocations: 291.1 kB / 379.1 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.2129, allocations: 5.531 kB / 379.1 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.2129, allocations: 13.41 kB / 379.1 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/0.2132, allocations: 168.9 kB / 379.3 MB, free: 41.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2132, allocations: 0 / 379.3 MB, free: 41.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.2133, allocations: 4.75 kB / 379.3 MB, free: 41.72 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2133, allocations: 5.125 kB / 379.3 MB, free: 41.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.2135, allocations: 82.98 kB / 379.4 MB, free: 41.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007057/0.2142, allocations: 0.5001 MB / 379.9 MB, free: 41.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.2144, allocations: 119.2 kB / 380 MB, free: 41.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.2146, allocations: 114.7 kB / 380.1 MB, free: 41.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.2146, allocations: 1.125 kB / 380.1 MB, free: 41.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003306/0.2149, allocations: 251.2 kB / 380.4 MB, free: 40.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.2149, allocations: 1.156 kB / 380.4 MB, free: 40.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.00094/0.2159, allocations: 0.6182 MB / 381 MB, free: 40.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.216, allocations: 194.6 kB / 381.2 MB, free: 40.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006486/0.2166, allocations: 0.5701 MB / 381.7 MB, free: 39.97 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.2167, allocations: 29.83 kB / 381.8 MB, free: 39.94 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.2167, allocations: 129.3 kB / 381.9 MB, free: 39.82 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.2168, allocations: 26.55 kB / 381.9 MB, free: 39.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.2169, allocations: 93.22 kB / 382 MB, free: 39.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.194e-05/0.217, allocations: 335.6 kB / 382.3 MB, free: 39.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.2171, allocations: 81.77 kB / 382.4 MB, free: 39.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.2173, allocations: 97.02 kB / 382.5 MB, free: 39.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/0.2178, allocations: 440.6 kB / 383 MB, free: 38.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2178, allocations: 0 / 383 MB, free: 38.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007586/0.2185, allocations: 0.4959 MB / 383.4 MB, free: 38.63 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.265e-05/0.2186, allocations: 155.8 kB / 383.6 MB, free: 38.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2186, allocations: 1.156 kB / 383.6 MB, free: 38.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.2187, allocations: 8.844 kB / 383.6 MB, free: 38.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.957e-05/0.2187, allocations: 1.094 kB / 383.6 MB, free: 38.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.2187, allocations: 1.156 kB / 383.6 MB, free: 38.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.2189, allocations: 22.39 kB / 383.6 MB, free: 38.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/0.219, allocations: 107.3 kB / 383.7 MB, free: 38.42 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.Mux2x1.inertialDelaySensitive.y,Input0.y,Select.y,Input1.y,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.x,$PRE.Mux2x1.inertialDelaySensitive.x,Mux2x1.yy,Mux2x1.nextstate,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 5 * 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.0003226/0.2193, allocations: 393.2 kB / 384.1 MB, free: 38.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.36e-05/0.2194, allocations: 42.81 kB / 384.2 MB, free: 38.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.2195, allocations: 70.19 kB / 384.2 MB, free: 38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2195, allocations: 1.125 kB / 384.2 MB, free: 38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2196, allocations: 0 / 384.2 MB, free: 38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2196, allocations: 1.062 kB / 384.2 MB, free: 38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.2206, allocations: 0.9683 MB / 385.2 MB, free: 37.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.2207, allocations: 0 / 385.2 MB, free: 37.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.28e-06/0.2207, allocations: 1.031 kB / 385.2 MB, free: 37.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2207, allocations: 0 / 385.2 MB, free: 37.26 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-05/0.2207, allocations: 23.77 kB / 385.2 MB, free: 37.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2207, allocations: 1 kB / 385.2 MB, free: 37.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2207, allocations: 3.938 kB / 385.2 MB, free: 37.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.2218, allocations: 1.371 MB / 386.6 MB, free: 36.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003289/0.2222, allocations: 264.2 kB / 386.9 MB, free: 35.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.379e-05/0.2222, allocations: 12.19 kB / 386.9 MB, free: 35.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.2224, allocations: 23.92 kB / 386.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.2225, allocations: 51.94 kB / 386.9 MB, free: 35.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.328e-05/0.2226, allocations: 101.2 kB / 387 MB, free: 35.56 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004194/0.2231, allocations: 422.8 kB / 387.5 MB, free: 35.15 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2231, allocations: 4 kB / 387.5 MB, free: 35.15 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004343/0.2235, allocations: 48 kB / 387.5 MB, free: 35.1 MB / 298.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: 14 ($whenCondition1,$whenCondition2,Mux2x1.nextstate,Mux2x1.yy,Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.t_next,Input1.y,Select.y,Input0.y) * Number of discrete states: 14 (Input1.y,Select.y,Input0.y,Mux2x1.yy,Mux2x1.nextstate,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,Mux2x1.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 5 * 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.0001062/0.2236, allocations: 115.2 kB / 387.6 MB, free: 34.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004922/0.2241, allocations: 0.536 MB / 388.2 MB, free: 34.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2241, allocations: 0 / 388.2 MB, free: 34.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002918/0.2244, allocations: 461 kB / 388.6 MB, free: 33.87 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008692/0.2253, allocations: 179.1 kB / 388.8 MB, free: 33.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.2264, allocations: 1.012 MB / 389.8 MB, free: 32.65 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.2266, allocations: 0.8224 MB / 390.6 MB, free: 31.8 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.516e-05/0.2267, allocations: 16.86 kB / 390.6 MB, free: 31.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.522e-05/0.2267, allocations: 15.44 kB / 390.6 MB, free: 31.77 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2267, allocations: 0 / 390.6 MB, free: 31.77 MB / 298.7 MB Notification: Performance of Templates: time 0.00704/0.2337, allocations: 7.114 MB / 397.8 MB, free: 24.52 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches