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/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.0009271/0.0009271, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001149/0.002076, allocations: 453.8 kB / 10.46 MB, free: 236 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.0007102/0.0007102, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009046/0.001615, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 0.9066/0.9066, allocations: 158.6 MB / 171.2 MB, free: 2.496 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1575/1.064, allocations: 49.5 MB / 220.7 MB, free: 1.352 MB / 218.7 MB " [Timeout remaining time 179] 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(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,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=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.062e-05, allocations: 2.312 kB / 222 MB, free: 52 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.003144/0.003165, allocations: 1.601 MB / 223.6 MB, free: 14.43 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002243/0.005408, allocations: 0.9247 MB / 224.5 MB, free: 13.5 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.77e-05/0.005495, allocations: 0 / 224.5 MB, free: 13.5 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.005608, allocations: 15.86 kB / 224.5 MB, free: 13.48 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.795e-05/0.005706, allocations: 27.75 kB / 224.6 MB, free: 13.46 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.006018, allocations: 63.8 kB / 224.6 MB, free: 13.39 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002804/0.006298, allocations: 155.6 kB / 224.8 MB, free: 13.24 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.006403, allocations: 18.23 kB / 224.8 MB, free: 13.23 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000843/0.007246, allocations: 0.6005 MB / 225.4 MB, free: 12.62 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.007431, allocations: 67.8 kB / 225.5 MB, free: 12.56 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.833e-05/0.007479, allocations: 12 kB / 225.5 MB, free: 12.55 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.881e-05/0.007518, allocations: 8 kB / 225.5 MB, free: 12.54 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.007618, allocations: 75.72 kB / 225.6 MB, free: 12.46 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.833e-05/0.007707, allocations: 51.75 kB / 225.6 MB, free: 12.41 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003899/0.008097, allocations: 314.9 kB / 225.9 MB, free: 12.11 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.755e-05/0.008114, allocations: 0 / 225.9 MB, free: 12.11 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.008115, allocations: 0 / 225.9 MB, free: 12.11 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.938e-05/0.008135, allocations: 0 / 225.9 MB, free: 12.11 MB / 234.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.000961/0.009096, allocations: 0.7523 MB / 226.7 MB, free: 11.3 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.009137, allocations: 8.031 kB / 226.7 MB, free: 11.29 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.009242, allocations: 36.91 kB / 226.7 MB, free: 11.25 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.009541, allocations: 228 kB / 226.9 MB, free: 11.01 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.009572, allocations: 8.375 kB / 226.9 MB, free: 11 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/0.009609, allocations: 16.3 kB / 227 MB, free: 10.98 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004158/0.01002, allocations: 279.3 kB / 227.2 MB, free: 10.67 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.01004, allocations: 4.188 kB / 227.2 MB, free: 10.67 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.01006, allocations: 8.375 kB / 227.2 MB, free: 10.66 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.01007, allocations: 3.938 kB / 227.2 MB, free: 10.66 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.01023, allocations: 192.5 kB / 227.4 MB, free: 10.44 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.01066, allocations: 228.1 kB / 227.7 MB, free: 10.2 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.01087, allocations: 222.9 kB / 227.9 MB, free: 9.941 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.01105, allocations: 201.4 kB / 228.1 MB, free: 9.711 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/0.01105, allocations: 0 / 228.1 MB, free: 9.711 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003126/0.01137, allocations: 355.1 kB / 228.4 MB, free: 9.309 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.01137, allocations: 0 / 228.4 MB, free: 9.309 MB / 234.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007848/0.01215, allocations: 0.6474 MB / 229.1 MB, free: 8.562 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.087e-05/0.01223, allocations: 174.2 kB / 229.2 MB, free: 8.355 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004434/0.01268, allocations: 395.1 kB / 229.6 MB, free: 7.957 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.01271, allocations: 29.7 kB / 229.6 MB, free: 7.922 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.01276, allocations: 109 kB / 229.8 MB, free: 7.812 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.01281, allocations: 31.78 kB / 229.8 MB, free: 7.781 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.01292, allocations: 77.53 kB / 229.9 MB, free: 7.699 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.01302, allocations: 334.8 kB / 230.2 MB, free: 7.363 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.01318, allocations: 188.4 kB / 230.4 MB, free: 7.148 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.01334, allocations: 212.1 kB / 230.6 MB, free: 6.906 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.01363, allocations: 398.5 kB / 231 MB, free: 6.449 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.01364, allocations: 0 / 231 MB, free: 6.449 MB / 234.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003917/0.01403, allocations: 451.3 kB / 231.4 MB, free: 5.941 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.253e-05/0.01412, allocations: 148.5 kB / 231.6 MB, free: 5.766 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.01413, allocations: 3.984 kB / 231.6 MB, free: 5.762 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.01414, allocations: 4.031 kB / 231.6 MB, free: 5.758 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.009e-05/0.01416, allocations: 4 kB / 231.6 MB, free: 5.754 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.01416, allocations: 160 / 231.6 MB, free: 5.754 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.0143, allocations: 16 kB / 231.6 MB, free: 5.738 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.497e-05/0.01439, allocations: 69.52 kB / 231.6 MB, free: 5.668 MB / 234.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.0003343/0.01472, allocations: 371 kB / 232 MB, free: 5.266 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.638e-05/0.01479, allocations: 43.91 kB / 232.1 MB, free: 5.223 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.0149, allocations: 59.41 kB / 232.1 MB, free: 5.168 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.0149, allocations: 4 kB / 232.1 MB, free: 5.164 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.0149, allocations: 0 / 232.1 MB, free: 5.164 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.01491, allocations: 4 kB / 232.1 MB, free: 5.16 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006528/0.01556, allocations: 0.6971 MB / 232.8 MB, free: 4.379 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01556, allocations: 0 / 232.8 MB, free: 4.379 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.094e-06/0.01557, allocations: 7.875 kB / 232.8 MB, free: 4.371 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002714/0.01584, allocations: 135.5 kB / 233 MB, free: 4.234 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.01584, allocations: 0 / 233 MB, free: 4.234 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.01588, allocations: 15.98 kB / 233 MB, free: 4.219 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.01588, allocations: 128 / 233 MB, free: 4.219 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.01588, allocations: 4 kB / 233 MB, free: 4.215 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004497/0.01633, allocations: 0.5746 MB / 233.6 MB, free: 3.562 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.849e-05/0.01639, allocations: 16 kB / 233.6 MB, free: 3.547 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.01653, allocations: 11.98 kB / 233.6 MB, free: 3.535 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.571e-05/0.01663, allocations: 35.97 kB / 233.6 MB, free: 3.5 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.852e-05/0.0167, allocations: 77.34 kB / 233.7 MB, free: 3.426 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0002569/0.01696, allocations: 168.6 kB / 233.9 MB, free: 3.258 MB / 234.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01696, allocations: 0 / 233.9 MB, free: 3.258 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002946/0.01726, allocations: 55.95 kB / 233.9 MB, free: 3.203 MB / 234.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.0001286/0.01738, allocations: 96.34 kB / 234 MB, free: 3.102 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0005484/0.01793, allocations: 0.7097 MB / 234.7 MB, free: 2.266 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/0.01794, allocations: 4 kB / 234.7 MB, free: 2.262 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003465/0.01829, allocations: 0.4972 MB / 235.2 MB, free: 1.668 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009841/0.01927, allocations: 0.6726 MB / 235.9 MB, free: 0.8945 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.02065, allocations: 0.8563 MB / 236.7 MB, free: 15.97 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.02076, allocations: 103.8 kB / 236.8 MB, free: 15.85 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.645e-05/0.02083, allocations: 13.06 kB / 236.9 MB, free: 15.84 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004917/0.02132, allocations: 195.4 kB / 237 MB, free: 15.65 MB / 250.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02132, allocations: 4 kB / 237.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of Templates: time 0.01085/0.03217, allocations: 6.453 MB / 243.5 MB, free: 9.113 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.650415090844035]