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.001316/0.001316, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001723/0.001723, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 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 1.087/1.087, allocations: 177.1 MB / 205 MB, free: 5.297 MB / 186.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.744e-06/1.744e-06, allocations: 0 / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.946e-05, allocations: 5.125 kB / 273 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002468/0.002498, allocations: 1.568 MB / 274.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003526/0.006024, allocations: 0.8809 MB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.306e-05/0.006087, allocations: 4 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.006198, allocations: 11.86 kB / 275.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.068e-05/0.006289, allocations: 19.81 kB / 275.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.006571, allocations: 55.86 kB / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.006765, allocations: 167.6 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.006868, allocations: 13.53 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005417/0.00741, allocations: 0.6552 MB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.007546, allocations: 83.67 kB / 276.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.259e-05/0.007588, allocations: 8 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.186e-05/0.00762, allocations: 12 kB / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.634e-05/0.007707, allocations: 79.7 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.326e-05/0.00779, allocations: 63.72 kB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002985/0.008088, allocations: 354.7 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.008091, allocations: 4 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.008093, allocations: 0 / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.008099, allocations: 4 kB / 276.9 MB, free: 13.41 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.0006963/0.008796, allocations: 0.8774 MB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.008833, allocations: 8.031 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.609e-05/0.00892, allocations: 52.66 kB / 277.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.009144, allocations: 246.7 kB / 278.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.009167, allocations: 4.375 kB / 278.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.009189, allocations: 12.38 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006696/0.009859, allocations: 323.2 kB / 278.5 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.009866, allocations: 192 / 278.5 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.009889, allocations: 12.31 kB / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.009897, allocations: 7.938 kB / 278.5 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.01003, allocations: 216.5 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005863/0.01062, allocations: 0.5267 MB / 279.2 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.01081, allocations: 243.5 kB / 279.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.01096, allocations: 220.2 kB / 279.7 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.01096, allocations: 4 kB / 279.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002621/0.01123, allocations: 392.7 kB / 280.1 MB, free: 9.961 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.01123, allocations: 0 / 280.1 MB, free: 9.961 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006793/0.01191, allocations: 0.8813 MB / 280.9 MB, free: 8.984 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.01197, allocations: 196 kB / 281.1 MB, free: 8.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000567/0.01254, allocations: 0.67 MB / 281.8 MB, free: 8.066 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.01257, allocations: 29.7 kB / 281.8 MB, free: 8.031 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.274e-05/0.01265, allocations: 175.7 kB / 282 MB, free: 7.852 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.01268, allocations: 31.92 kB / 282 MB, free: 7.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.497e-05/0.01278, allocations: 107.2 kB / 282.1 MB, free: 7.707 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.0129, allocations: 0.5001 MB / 282.6 MB, free: 7.195 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.01305, allocations: 212.5 kB / 282.8 MB, free: 6.957 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.0132, allocations: 247.9 kB / 283.1 MB, free: 6.676 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.01344, allocations: 423.9 kB / 283.5 MB, free: 6.195 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01344, allocations: 0 / 283.5 MB, free: 6.195 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004635/0.0139, allocations: 0.6313 MB / 284.1 MB, free: 5.496 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.089e-05/0.01398, allocations: 156.5 kB / 284.3 MB, free: 5.312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.01398, allocations: 3.984 kB / 284.3 MB, free: 5.309 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/0.01401, allocations: 4 kB / 284.3 MB, free: 5.305 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.391e-05/0.01403, allocations: 3.938 kB / 284.3 MB, free: 5.301 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.01404, allocations: 0 / 284.3 MB, free: 5.301 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.01414, allocations: 16.03 kB / 284.3 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.236e-05/0.01421, allocations: 101.4 kB / 284.4 MB, free: 5.188 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.0002402/0.01445, allocations: 423 kB / 284.8 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.504e-05/0.01451, allocations: 59.66 kB / 284.9 MB, free: 4.676 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.207e-05/0.01458, allocations: 59.41 kB / 284.9 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.01458, allocations: 0 / 284.9 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.01459, allocations: 0 / 284.9 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.01459, allocations: 0 / 284.9 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.01569, allocations: 1.119 MB / 286.1 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01569, allocations: 4 kB / 286.1 MB, free: 3.387 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.763e-06/0.01569, allocations: 4 kB / 286.1 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.0157, allocations: 0 / 286.1 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.01572, allocations: 23.98 kB / 286.1 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.01572, allocations: 0 / 286.1 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01573, allocations: 0 / 286.1 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005276/0.01625, allocations: 0.8636 MB / 286.9 MB, free: 2.414 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.01646, allocations: 193.4 kB / 287.1 MB, free: 2.223 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.01651, allocations: 12 kB / 287.2 MB, free: 2.211 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.367e-05/0.01659, allocations: 11.98 kB / 287.2 MB, free: 2.199 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.973e-05/0.01669, allocations: 67.92 kB / 287.2 MB, free: 2.133 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-05/0.01676, allocations: 113.5 kB / 287.3 MB, free: 2.023 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003681/0.01712, allocations: 450.7 kB / 287.8 MB, free: 1.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01712, allocations: 0 / 287.8 MB, free: 1.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002036/0.01733, allocations: 48 kB / 287.8 MB, free: 1.543 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.0001165/0.01744, allocations: 115.2 kB / 287.9 MB, free: 1.418 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004394/0.01788, allocations: 0.7515 MB / 288.7 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.01788, allocations: 0 / 288.7 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.01813, allocations: 0.5207 MB / 289.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.01859, allocations: 210 kB / 289.4 MB, free: 15.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007653/0.01935, allocations: 0.8638 MB / 290.3 MB, free: 14.81 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.403e-05/0.01943, allocations: 103.8 kB / 290.4 MB, free: 14.69 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.717e-05/0.01947, allocations: 12.95 kB / 290.4 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.28e-05/0.0195, allocations: 20.5 kB / 290.4 MB, free: 14.66 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.0195, allocations: 0 / 290.4 MB, free: 14.66 MB / 282.7 MB Notification: Performance of Templates: time 0.008678/0.02818, allocations: 8.494 MB / 298.9 MB, free: 6.102 MB / 282.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 -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: 3.0699002421461046]