Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 81.66 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 154.9 kB / 23.94 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 173.4 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Digital.Examples.MUX2x1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/2.788e-05, allocations: 4.812 kB / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.00227/0.002298, allocations: 1.506 MB / 320.4 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.00413, allocations: 0.8085 MB / 321.2 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.958e-05/0.00419, allocations: 9.188 kB / 321.2 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.004318, allocations: 9.953 kB / 321.3 MB, free: 2 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.614e-05/0.004415, allocations: 32.83 kB / 321.3 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.004689, allocations: 59.78 kB / 321.3 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.004931, allocations: 157.4 kB / 321.5 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.005042, allocations: 22.78 kB / 321.5 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007883/0.005831, allocations: 0.6565 MB / 322.2 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.005969, allocations: 79.56 kB / 322.3 MB, free: 1.75 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.251e-05/0.006021, allocations: 15.62 kB / 322.3 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.34e-05/0.006065, allocations: 10.59 kB / 322.3 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.251e-05/0.006147, allocations: 72.53 kB / 322.4 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.00625, allocations: 65.06 kB / 322.4 MB, free: 1.688 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000503/0.006753, allocations: 460 kB / 322.9 MB, free: 1.555 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.006755, allocations: 0 / 322.9 MB, free: 1.555 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.006756, allocations: 0 / 322.9 MB, free: 1.555 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.006769, allocations: 3.938 kB / 322.9 MB, free: 1.551 MB / 286.1 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.0006932/0.007462, allocations: 0.7458 MB / 323.6 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.007501, allocations: 9.766 kB / 323.6 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.963e-05/0.007581, allocations: 47.11 kB / 323.7 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.007833, allocations: 241.2 kB / 323.9 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.00785, allocations: 9.625 kB / 323.9 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.007888, allocations: 9.562 kB / 323.9 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004462/0.008334, allocations: 318.2 kB / 324.2 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.008343, allocations: 1.562 kB / 324.2 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.008373, allocations: 5.297 kB / 324.2 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.00838, allocations: 5.312 kB / 324.2 MB, free: 452 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002179/0.008598, allocations: 237.4 kB / 324.5 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006771/0.009275, allocations: 424 kB / 324.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.009622, allocations: 248 kB / 325.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.009928, allocations: 236.8 kB / 325.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.009937, allocations: 1.969 kB / 325.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005678/0.0105, allocations: 395.7 kB / 325.8 MB, free: 15.24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.01051, allocations: 1.406 kB / 325.8 MB, free: 15.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.001422/0.01193, allocations: 0.9173 MB / 326.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001588/0.01209, allocations: 201.5 kB / 326.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000835/0.01292, allocations: 0.5612 MB / 327.4 MB, free: 14.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/0.01297, allocations: 29.48 kB / 327.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.01307, allocations: 121.3 kB / 327.6 MB, free: 13.94 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.163e-05/0.01313, allocations: 34.41 kB / 327.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.01328, allocations: 92.47 kB / 327.7 MB, free: 13.87 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.01346, allocations: 329.2 kB / 328 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/0.01374, allocations: 231.4 kB / 328.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/0.01405, allocations: 252.4 kB / 328.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005536/0.0146, allocations: 446.7 kB / 328.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.0146, allocations: 0 / 328.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0009573/0.01556, allocations: 0.6573 MB / 329.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001414/0.0157, allocations: 154.1 kB / 329.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.01571, allocations: 5.281 kB / 329.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.01573, allocations: 1.281 kB / 329.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.623e-05/0.01576, allocations: 2.297 kB / 329.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/0.01577, allocations: 3.938 kB / 329.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.01598, allocations: 14.61 kB / 329.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/0.01614, allocations: 104.6 kB / 329.9 MB, free: 12.14 MB / 302.1 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.0005267/0.01667, allocations: 400.2 kB / 330.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.243e-05/0.01675, allocations: 54.75 kB / 330.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.01689, allocations: 72.8 kB / 330.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.0169, allocations: 5.188 kB / 330.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.01691, allocations: 4.781 kB / 330.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.01691, allocations: 1 kB / 330.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.01854, allocations: 1.042 MB / 331.4 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.01854, allocations: 0.7031 kB / 331.4 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.12e-06/0.01855, allocations: 2.125 kB / 331.4 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.01855, allocations: 0 / 331.4 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.618e-05/0.01862, allocations: 24.2 kB / 331.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.01862, allocations: 4 kB / 331.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01862, allocations: 0.9062 kB / 331.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.01993, allocations: 0.8189 MB / 332.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004523/0.02038, allocations: 222.5 kB / 332.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.547e-05/0.02046, allocations: 12.94 kB / 332.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.02061, allocations: 16.83 kB / 332.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.02078, allocations: 54.77 kB / 332.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/0.0209, allocations: 98.97 kB / 332.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006019/0.02151, allocations: 420.4 kB / 333.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.02151, allocations: 0 / 333.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003275/0.02183, allocations: 56.08 kB / 333.2 MB, free: 10.06 MB / 302.1 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.0001749/0.02201, allocations: 122.2 kB / 333.3 MB, free: 9.957 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009261/0.02293, allocations: 0.7627 MB / 334 MB, free: 9.254 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.02294, allocations: 1.469 kB / 334 MB, free: 9.254 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005806/0.02352, allocations: 0.53 MB / 334.6 MB, free: 8.734 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009769/0.02449, allocations: 188.8 kB / 334.7 MB, free: 8.691 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.02601, allocations: 0.8989 MB / 335.6 MB, free: 8.109 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.02635, allocations: 219.9 kB / 335.9 MB, free: 7.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.927e-05/0.02643, allocations: 10.84 kB / 335.9 MB, free: 7.973 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.207e-05/0.02646, allocations: 19.62 kB / 335.9 MB, free: 7.961 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.02646, allocations: 0 / 335.9 MB, free: 7.961 MB / 302.1 MB Notification: Performance of Templates: time 0.01349/0.03996, allocations: 7.996 MB / 343.9 MB, free: 1.469 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.499617256224155]