Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001195/0.001195, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001067/0.001067, allocations: 98.59 kB / 296.7 MB, free: 6.488 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008943/0.0008943, allocations: 51.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2647, allocations: 50.46 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002565/0.2673, allocations: 1.624 MB / 408.7 MB, free: 26.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.2692, allocations: 0.927 MB / 409.6 MB, free: 25.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.285e-05/0.2693, allocations: 4 kB / 409.6 MB, free: 25.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.2695, allocations: 7.922 kB / 409.6 MB, free: 25.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.755e-05/0.2696, allocations: 10.38 kB / 409.6 MB, free: 25.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.2699, allocations: 55.88 kB / 409.7 MB, free: 25.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.27, allocations: 127.7 kB / 409.8 MB, free: 25.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.2702, allocations: 27.94 kB / 409.8 MB, free: 25.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004869/0.2706, allocations: 0.6278 MB / 410.5 MB, free: 24.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.2708, allocations: 91.66 kB / 410.5 MB, free: 24.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.79e-05/0.2709, allocations: 11.94 kB / 410.6 MB, free: 24.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.04e-05/0.2709, allocations: 8 kB / 410.6 MB, free: 24.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.037e-05/0.271, allocations: 83.62 kB / 410.6 MB, free: 24.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.2711, allocations: 127 kB / 410.8 MB, free: 24.08 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.2715, allocations: 446.4 kB / 411.2 MB, free: 23.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.692e-05/0.2715, allocations: 0 / 411.2 MB, free: 23.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.2715, allocations: 0 / 411.2 MB, free: 23.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.2715, allocations: 0 / 411.2 MB, free: 23.64 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.0008629/0.2724, allocations: 0.8115 MB / 412 MB, free: 22.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.2724, allocations: 11.97 kB / 412 MB, free: 22.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.421e-05/0.2725, allocations: 40.47 kB / 412.1 MB, free: 22.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.2728, allocations: 310 kB / 412.4 MB, free: 22.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.2729, allocations: 8.375 kB / 412.4 MB, free: 22.35 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/0.2729, allocations: 8.375 kB / 412.4 MB, free: 22.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000338/0.2733, allocations: 169.9 kB / 412.6 MB, free: 22.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.2733, allocations: 0 / 412.6 MB, free: 22.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/0.2733, allocations: 8 kB / 412.6 MB, free: 22.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2733, allocations: 0 / 412.6 MB, free: 22.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.2735, allocations: 87.94 kB / 412.6 MB, free: 22.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007108/0.2742, allocations: 0.4925 MB / 413.1 MB, free: 21.53 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.2744, allocations: 122.5 kB / 413.3 MB, free: 21.4 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.2746, allocations: 116.8 kB / 413.4 MB, free: 21.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.2746, allocations: 0 / 413.4 MB, free: 21.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003728/0.275, allocations: 246.6 kB / 413.6 MB, free: 21.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.275, allocations: 0 / 413.6 MB, free: 21.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007987/0.2758, allocations: 0.6109 MB / 414.2 MB, free: 20.37 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.2759, allocations: 199.8 kB / 414.4 MB, free: 20.13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005545/0.2764, allocations: 0.5561 MB / 415 MB, free: 19.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.2764, allocations: 37.69 kB / 415 MB, free: 19.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.2765, allocations: 113.1 kB / 415.1 MB, free: 19.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.2766, allocations: 23.72 kB / 415.1 MB, free: 19.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.2767, allocations: 105.3 kB / 415.2 MB, free: 19.28 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.2767, allocations: 330.8 kB / 415.6 MB, free: 18.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.2769, allocations: 83.95 kB / 415.7 MB, free: 18.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.277, allocations: 96.48 kB / 415.7 MB, free: 18.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.2773, allocations: 438.6 kB / 416.2 MB, free: 18.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2773, allocations: 0 / 416.2 MB, free: 18.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005121/0.2778, allocations: 0.5097 MB / 416.7 MB, free: 17.72 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.242e-05/0.2779, allocations: 152.5 kB / 416.8 MB, free: 17.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2779, allocations: 3.938 kB / 416.8 MB, free: 17.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.278, allocations: 0 / 416.8 MB, free: 17.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.924e-05/0.278, allocations: 112 / 416.8 MB, free: 17.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.278, allocations: 7.938 kB / 416.8 MB, free: 17.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.2781, allocations: 19.97 kB / 416.9 MB, free: 17.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.471e-05/0.2782, allocations: 93.3 kB / 417 MB, free: 17.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.0002432/0.2785, allocations: 417.5 kB / 417.4 MB, free: 16.97 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.2785, allocations: 39.53 kB / 417.4 MB, free: 16.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.224e-05/0.2786, allocations: 71.47 kB / 417.5 MB, free: 16.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2786, allocations: 0 / 417.5 MB, free: 16.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2786, allocations: 4 kB / 417.5 MB, free: 16.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2786, allocations: 0 / 417.5 MB, free: 16.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008303/0.2795, allocations: 0.971 MB / 418.4 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2795, allocations: 0 / 418.4 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.46e-06/0.2795, allocations: 0 / 418.4 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2795, allocations: 3.938 kB / 418.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.2796, allocations: 23.98 kB / 418.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2796, allocations: 0 / 418.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.2796, allocations: 3.938 kB / 418.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008767/0.2805, allocations: 1.365 MB / 419.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002745/0.2808, allocations: 260.3 kB / 420.1 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.44e-05/0.2808, allocations: 12 kB / 420.1 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.281, allocations: 15.98 kB / 420.1 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.2811, allocations: 55.94 kB / 420.2 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.271e-05/0.2812, allocations: 105.2 kB / 420.3 MB, free: 13.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000362/0.2816, allocations: 418.8 kB / 420.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.22e-07/0.2816, allocations: 0 / 420.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003718/0.2819, allocations: 55.88 kB / 420.7 MB, free: 13.39 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.0001281/0.2821, allocations: 119.1 kB / 420.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004456/0.2825, allocations: 0.5438 MB / 421.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2825, allocations: 0 / 421.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.2828, allocations: 461 kB / 421.9 MB, free: 12.15 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007677/0.2836, allocations: 179.8 kB / 422 MB, free: 11.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.2848, allocations: 1.015 MB / 423 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.2851, allocations: 0.8185 MB / 423.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.371e-05/0.2852, allocations: 16.84 kB / 423.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.052e-05/0.2852, allocations: 15.44 kB / 423.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of SimCode: time 2.01e-07/0.2852, allocations: 0 / 423.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of Templates: time 0.008222/0.2934, allocations: 7.106 MB / 431 MB, free: 2.828 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches