Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.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.0007805/0.0007805, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009985/0.001779, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007405/0.0007405, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008625/0.001603, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9477/0.9477, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09052/1.038, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.476e-06/9.538e-06, allocations: 2.312 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.00197/0.001979, allocations: 1.631 MB / 246.2 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.003278, allocations: 0.9167 MB / 247.1 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.721e-05/0.003315, allocations: 4 kB / 247.1 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.946e-05/0.003375, allocations: 11.92 kB / 247.1 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.93e-05/0.003424, allocations: 35.72 kB / 247.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.003626, allocations: 51.83 kB / 247.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.003823, allocations: 155.7 kB / 247.3 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.654e-05/0.003899, allocations: 22.17 kB / 247.3 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005556/0.004455, allocations: 0.6006 MB / 247.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.004565, allocations: 63.8 kB / 248 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/0.004599, allocations: 15.94 kB / 248 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.52e-05/0.004624, allocations: 8 kB / 248 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.16e-05/0.004696, allocations: 79.66 kB / 248.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.823e-05/0.004764, allocations: 51.81 kB / 248.2 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.005039, allocations: 310.9 kB / 248.5 MB, free: 10.36 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.338e-05/0.005052, allocations: 0 / 248.5 MB, free: 10.36 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005053, allocations: 0 / 248.5 MB, free: 10.36 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.005067, allocations: 0 / 248.5 MB, free: 10.36 MB / 250.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.0006487/0.005715, allocations: 0.7523 MB / 249.2 MB, free: 9.551 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.72e-05/0.005742, allocations: 8.031 kB / 249.2 MB, free: 9.543 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.348e-05/0.005806, allocations: 36.89 kB / 249.3 MB, free: 9.508 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.006003, allocations: 239.9 kB / 249.5 MB, free: 9.246 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.006016, allocations: 4.375 kB / 249.5 MB, free: 9.242 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.006035, allocations: 16.38 kB / 249.5 MB, free: 9.227 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.006256, allocations: 275.3 kB / 249.8 MB, free: 8.918 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.491e-06/0.006262, allocations: 4.188 kB / 249.8 MB, free: 8.914 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.006274, allocations: 4.375 kB / 249.8 MB, free: 8.91 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.006279, allocations: 3.938 kB / 249.8 MB, free: 8.906 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.497e-05/0.006374, allocations: 196.4 kB / 250 MB, free: 8.684 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002519/0.006626, allocations: 228.1 kB / 250.2 MB, free: 8.445 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.006742, allocations: 207 kB / 250.4 MB, free: 8.203 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.207e-05/0.006834, allocations: 201.4 kB / 250.6 MB, free: 7.973 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-06/0.006839, allocations: 0 / 250.6 MB, free: 7.973 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.007018, allocations: 359 kB / 251 MB, free: 7.566 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 7.92e-07/0.007019, allocations: 4 kB / 251 MB, free: 7.562 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003497/0.007369, allocations: 0.6397 MB / 251.6 MB, free: 6.824 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.007405, allocations: 85.11 kB / 251.7 MB, free: 6.723 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.007672, allocations: 399.1 kB / 252.1 MB, free: 6.32 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.007689, allocations: 29.7 kB / 252.1 MB, free: 6.285 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.559e-05/0.007725, allocations: 105.1 kB / 252.2 MB, free: 6.18 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.007751, allocations: 39.83 kB / 252.2 MB, free: 6.141 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.578e-05/0.007817, allocations: 81.47 kB / 252.3 MB, free: 6.055 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.812e-05/0.007885, allocations: 326.8 kB / 252.6 MB, free: 5.727 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.983e-05/0.007975, allocations: 192.5 kB / 252.8 MB, free: 5.508 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.329e-05/0.008068, allocations: 206.2 kB / 253 MB, free: 5.27 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.008242, allocations: 402.4 kB / 253.4 MB, free: 4.812 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.008243, allocations: 4 kB / 253.4 MB, free: 4.809 MB / 250.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002216/0.008465, allocations: 438.6 kB / 253.9 MB, free: 4.312 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.65e-05/0.008531, allocations: 159.8 kB / 254 MB, free: 4.129 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.008535, allocations: 0 / 254 MB, free: 4.129 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.961e-06/0.008541, allocations: 4 kB / 254 MB, free: 4.125 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.388e-05/0.008555, allocations: 0 / 254 MB, free: 4.125 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-06/0.008557, allocations: 3.938 kB / 254 MB, free: 4.121 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.488e-05/0.008632, allocations: 19.98 kB / 254 MB, free: 4.102 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.577e-05/0.008677, allocations: 61.44 kB / 254.1 MB, free: 4.043 MB / 250.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.000209/0.008886, allocations: 375.2 kB / 254.5 MB, free: 3.637 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/0.008921, allocations: 43.89 kB / 254.5 MB, free: 3.594 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.848e-05/0.008989, allocations: 63.42 kB / 254.6 MB, free: 3.531 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.008991, allocations: 3.984 kB / 254.6 MB, free: 3.527 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-06/0.008992, allocations: 0 / 254.6 MB, free: 3.527 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.008995, allocations: 0 / 254.6 MB, free: 3.527 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003995/0.009394, allocations: 0.6947 MB / 255.3 MB, free: 2.746 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.009395, allocations: 0 / 255.3 MB, free: 2.746 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-06/0.009399, allocations: 3.938 kB / 255.3 MB, free: 2.742 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.009558, allocations: 139.4 kB / 255.4 MB, free: 2.602 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.009559, allocations: 4 kB / 255.4 MB, free: 2.598 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.009574, allocations: 11.98 kB / 255.4 MB, free: 2.586 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.009575, allocations: 0 / 255.4 MB, free: 2.586 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.009575, allocations: 4 kB / 255.4 MB, free: 2.582 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.009862, allocations: 0.5783 MB / 256 MB, free: 1.93 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.009896, allocations: 16.17 kB / 256 MB, free: 1.914 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-05/0.009965, allocations: 16 kB / 256 MB, free: 1.898 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.01002, allocations: 31.97 kB / 256.1 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-05/0.01007, allocations: 69.36 kB / 256.1 MB, free: 1.801 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001393/0.0102, allocations: 176.6 kB / 256.3 MB, free: 1.625 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01021, allocations: 0 / 256.3 MB, free: 1.625 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001575/0.01036, allocations: 55.95 kB / 256.4 MB, free: 1.57 MB / 250.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 7.504e-05/0.01044, allocations: 100.4 kB / 256.5 MB, free: 1.465 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003875/0.01083, allocations: 0.7019 MB / 257.2 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.01083, allocations: 4 kB / 257.2 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.01102, allocations: 0.4972 MB / 257.7 MB, free: 40 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.01139, allocations: 215.9 kB / 257.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008073/0.01219, allocations: 0.8609 MB / 258.7 MB, free: 14.92 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.849e-05/0.01226, allocations: 99.77 kB / 258.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.26e-05/0.01229, allocations: 12.95 kB / 258.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/0.01257, allocations: 199.3 kB / 259 MB, free: 14.59 MB / 266.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01257, allocations: 0 / 259 MB, free: 14.59 MB / 266.7 MB Notification: Performance of Templates: time 0.006517/0.01909, allocations: 6.439 MB / 265.5 MB, free: 8.18 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.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: 2.4932466112077236]