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.0008627/0.0008627, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.003861/0.003861, allocations: 158 kB / 24.7 MB, free: 9.418 MB / 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.8328/0.8328, allocations: 177 MB / 204.9 MB, free: 5.754 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.042e-06/1.042e-06, allocations: 0 / 325.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.834e-05, allocations: 2.844 kB / 325.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.001674/0.001692, allocations: 1.527 MB / 327.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.002927, allocations: 0.8458 MB / 328.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.985e-05/0.002966, allocations: 4 kB / 328.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.153e-05/0.003038, allocations: 11.86 kB / 328.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.251e-05/0.0031, allocations: 27.84 kB / 328.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.003293, allocations: 67.73 kB / 328.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.003451, allocations: 155.6 kB / 328.4 MB, free: 12.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.272e-05/0.003523, allocations: 17.58 kB / 328.4 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004256/0.003949, allocations: 0.659 MB / 329.1 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.078e-05/0.00404, allocations: 75.8 kB / 329.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.004066, allocations: 8 kB / 329.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.31e-05/0.004089, allocations: 12 kB / 329.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.525e-05/0.004145, allocations: 75.66 kB / 329.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.299e-05/0.004208, allocations: 71.7 kB / 329.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005354/0.004743, allocations: 454.5 kB / 329.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.004745, allocations: 4 kB / 329.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.004745, allocations: 0 / 329.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.00475, allocations: 3.984 kB / 329.8 MB, free: 11.23 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.0005004/0.005251, allocations: 0.7424 MB / 330.5 MB, free: 10.42 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.582e-05/0.005276, allocations: 11.98 kB / 330.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.005327, allocations: 44.66 kB / 330.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.005511, allocations: 247.9 kB / 330.8 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.005525, allocations: 4.375 kB / 330.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.005547, allocations: 16.38 kB / 330.8 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.005805, allocations: 310.6 kB / 331.1 MB, free: 9.738 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.005813, allocations: 192 / 331.1 MB, free: 9.738 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.005829, allocations: 12.38 kB / 331.2 MB, free: 9.727 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.005833, allocations: 3.938 kB / 331.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.005974, allocations: 236.4 kB / 331.4 MB, free: 9.461 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004093/0.006384, allocations: 428.2 kB / 331.8 MB, free: 9.012 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.006545, allocations: 243 kB / 332 MB, free: 8.734 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.006677, allocations: 237.3 kB / 332.3 MB, free: 8.469 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.343e-06/0.006685, allocations: 112 / 332.3 MB, free: 8.469 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002565/0.006941, allocations: 403 kB / 332.7 MB, free: 8.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 8.52e-07/0.006942, allocations: 4 kB / 332.7 MB, free: 8.016 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006485/0.007591, allocations: 0.9128 MB / 333.6 MB, free: 7.004 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.007651, allocations: 195.9 kB / 333.8 MB, free: 6.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004027/0.008054, allocations: 0.564 MB / 334.3 MB, free: 6.203 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.008074, allocations: 29.7 kB / 334.4 MB, free: 6.168 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.02e-05/0.008124, allocations: 121.1 kB / 334.5 MB, free: 6.043 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.008155, allocations: 35.88 kB / 334.5 MB, free: 6.008 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.785e-05/0.008242, allocations: 101.5 kB / 334.6 MB, free: 5.902 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.985e-05/0.008322, allocations: 330.8 kB / 334.9 MB, free: 5.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.008465, allocations: 232.5 kB / 335.2 MB, free: 5.312 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.008601, allocations: 246.8 kB / 335.4 MB, free: 5.035 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.008836, allocations: 453.5 kB / 335.9 MB, free: 4.527 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.008837, allocations: 0 / 335.9 MB, free: 4.527 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007358/0.009573, allocations: 0.6585 MB / 336.5 MB, free: 3.801 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.382e-05/0.009637, allocations: 156.5 kB / 336.7 MB, free: 3.617 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.009642, allocations: 0 / 336.7 MB, free: 3.617 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.009652, allocations: 0 / 336.7 MB, free: 3.617 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.471e-05/0.009667, allocations: 0 / 336.7 MB, free: 3.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.009672, allocations: 4 kB / 336.7 MB, free: 3.613 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.029e-05/0.009762, allocations: 15.92 kB / 336.7 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.496e-05/0.009827, allocations: 105.5 kB / 336.8 MB, free: 3.492 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.000215/0.01004, allocations: 392.3 kB / 337.2 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.01008, allocations: 55.59 kB / 337.2 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.439e-05/0.01015, allocations: 71.39 kB / 337.3 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.01015, allocations: 4 kB / 337.3 MB, free: 2.941 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.01016, allocations: 0 / 337.3 MB, free: 2.941 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.01016, allocations: 0 / 337.3 MB, free: 2.941 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006793/0.01084, allocations: 1.038 MB / 338.3 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01084, allocations: 0 / 338.3 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-06/0.01084, allocations: 128 / 338.3 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.01085, allocations: 8 kB / 338.3 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.01087, allocations: 19.98 kB / 338.4 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.01087, allocations: 4 kB / 338.4 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01087, allocations: 0 / 338.4 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005048/0.01138, allocations: 0.8276 MB / 339.2 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002338/0.01161, allocations: 213.3 kB / 339.4 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.655e-05/0.01165, allocations: 12 kB / 339.4 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-05/0.01173, allocations: 19.92 kB / 339.4 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.386e-05/0.01182, allocations: 51.94 kB / 339.5 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.038e-05/0.01188, allocations: 109.4 kB / 339.6 MB, free: 484 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002976/0.01218, allocations: 422.8 kB / 340 MB, free: 64 kB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01218, allocations: 0 / 340 MB, free: 64 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001807/0.01236, allocations: 48 kB / 340.1 MB, free: 16 kB / 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 9.139e-05/0.01245, allocations: 107.2 kB / 340.2 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004329/0.01289, allocations: 0.7713 MB / 340.9 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.01289, allocations: 0 / 340.9 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002453/0.01313, allocations: 0.5288 MB / 341.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.01357, allocations: 206.6 kB / 341.7 MB, free: 14.19 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007792/0.01435, allocations: 0.9484 MB / 342.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.0145, allocations: 215.5 kB / 342.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.817e-05/0.01452, allocations: 20.44 kB / 342.8 MB, free: 12.93 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01452, allocations: 0 / 342.8 MB, free: 12.93 MB / 314.7 MB Notification: Performance of Templates: time 0.003899/0.01842, allocations: 4.295 MB / 347.1 MB, free: 8.531 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.968714543618262]