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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009976/0.0009976, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001026/0.001026, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9989/0.9989, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.823e-05, allocations: 3.719 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002058/0.002087, allocations: 1.573 MB / 274.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.003553, allocations: 0.877 MB / 275.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.533e-05/0.003608, allocations: 3.938 kB / 275.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.704e-05/0.003695, allocations: 11.92 kB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.649e-05/0.003771, allocations: 27.73 kB / 275.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.004028, allocations: 63.8 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.004202, allocations: 147.7 kB / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.052e-05/0.004293, allocations: 25.58 kB / 275.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005115/0.004804, allocations: 0.6551 MB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.00493, allocations: 75.73 kB / 276.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.886e-05/0.004969, allocations: 12 kB / 276.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.141e-05/0.005001, allocations: 12 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.046e-05/0.005081, allocations: 75.7 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.01e-05/0.005161, allocations: 63.67 kB / 276.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.005466, allocations: 362.7 kB / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.005468, allocations: 0 / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005469, allocations: 0 / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.005475, allocations: 0 / 276.9 MB, free: 13.46 MB / 266.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.0006643/0.006139, allocations: 0.8774 MB / 277.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.006176, allocations: 19.92 kB / 277.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.129e-05/0.006257, allocations: 52.66 kB / 277.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.006485, allocations: 246.7 kB / 278.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.006508, allocations: 8.375 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.006533, allocations: 12.38 kB / 278.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003272/0.00686, allocations: 311.3 kB / 278.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.006869, allocations: 192 / 278.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.006889, allocations: 8.375 kB / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.006898, allocations: 7.938 kB / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.007084, allocations: 216.4 kB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000633/0.007717, allocations: 0.5306 MB / 279.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.007909, allocations: 247.5 kB / 279.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.008053, allocations: 228.1 kB / 279.6 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-06/0.008059, allocations: 0 / 279.6 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002739/0.008333, allocations: 396.5 kB / 280 MB, free: 10 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.008335, allocations: 0 / 280 MB, free: 10 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007175/0.009052, allocations: 0.8816 MB / 280.9 MB, free: 9.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.702e-05/0.009129, allocations: 195.9 kB / 281.1 MB, free: 8.785 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000643/0.009772, allocations: 0.6661 MB / 281.7 MB, free: 8.105 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.009803, allocations: 33.7 kB / 281.8 MB, free: 8.066 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.297e-05/0.009896, allocations: 163.8 kB / 281.9 MB, free: 7.898 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.009935, allocations: 35.86 kB / 282 MB, free: 7.863 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.01004, allocations: 107.2 kB / 282.1 MB, free: 7.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.01016, allocations: 0.5001 MB / 282.6 MB, free: 7.238 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.01029, allocations: 212.5 kB / 282.8 MB, free: 7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.01044, allocations: 242.6 kB / 283 MB, free: 6.727 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.01069, allocations: 424.3 kB / 283.4 MB, free: 6.242 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01069, allocations: 0 / 283.4 MB, free: 6.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004799/0.01117, allocations: 0.6391 MB / 284.1 MB, free: 5.535 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.139e-05/0.01125, allocations: 152.5 kB / 284.2 MB, free: 5.355 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01126, allocations: 0 / 284.2 MB, free: 5.355 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.419e-05/0.01129, allocations: 0 / 284.2 MB, free: 5.355 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.272e-05/0.01133, allocations: 0 / 284.2 MB, free: 5.355 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.01134, allocations: 7.984 kB / 284.2 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.01146, allocations: 15.97 kB / 284.2 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.7e-05/0.01154, allocations: 101.5 kB / 284.3 MB, free: 5.234 MB / 266.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.0002551/0.01179, allocations: 423.1 kB / 284.8 MB, free: 4.781 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-05/0.01185, allocations: 59.66 kB / 284.8 MB, free: 4.723 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.725e-05/0.01192, allocations: 59.41 kB / 284.9 MB, free: 4.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.01193, allocations: 7.938 kB / 284.9 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.01193, allocations: 0 / 284.9 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.01193, allocations: 0 / 284.9 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008728/0.01281, allocations: 1.127 MB / 286 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.01281, allocations: 0 / 286 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.641e-06/0.01281, allocations: 4 kB / 286 MB, free: 3.418 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01282, allocations: 0 / 286 MB, free: 3.418 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.01284, allocations: 19.98 kB / 286 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.01285, allocations: 4 kB / 286 MB, free: 3.395 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.01285, allocations: 0 / 286 MB, free: 3.395 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005668/0.01341, allocations: 0.852 MB / 286.9 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/0.01365, allocations: 197.3 kB / 287.1 MB, free: 2.266 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.377e-05/0.01369, allocations: 12 kB / 287.1 MB, free: 2.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.853e-05/0.01378, allocations: 12 kB / 287.1 MB, free: 2.242 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.01391, allocations: 71.89 kB / 287.2 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-05/0.01397, allocations: 109.3 kB / 287.3 MB, free: 2.066 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003842/0.01436, allocations: 450.7 kB / 287.7 MB, free: 1.629 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.01436, allocations: 0 / 287.7 MB, free: 1.629 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002142/0.01457, allocations: 56 kB / 287.8 MB, free: 1.574 MB / 266.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.0001117/0.01468, allocations: 107.2 kB / 287.9 MB, free: 1.457 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004746/0.01516, allocations: 0.7464 MB / 288.6 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.01516, allocations: 0 / 288.6 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.01545, allocations: 0.5245 MB / 289.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005172/0.01597, allocations: 220.6 kB / 289.4 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009144/0.01688, allocations: 0.8677 MB / 290.2 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.312e-05/0.01697, allocations: 103.8 kB / 290.3 MB, free: 14.72 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.987e-05/0.01703, allocations: 8.969 kB / 290.3 MB, free: 14.71 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.01706, allocations: 16.5 kB / 290.4 MB, free: 14.69 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01706, allocations: 0 / 290.4 MB, free: 14.69 MB / 282.7 MB Notification: Performance of Templates: time 0.009134/0.0262, allocations: 8.038 MB / 298.4 MB, free: 6.57 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.9992867363616824]