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.001906/0.001906, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.00242/0.00242, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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.475/1.475, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] 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 2.535e-06/2.535e-06, allocations: 0 / 325.1 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.339e-05/3.593e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.003441/0.003477, allocations: 1.536 MB / 326.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002749/0.006226, allocations: 0.8502 MB / 327.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.727e-05/0.006324, allocations: 4 kB / 327.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.00646, allocations: 18.83 kB / 327.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.006587, allocations: 18.98 kB / 327.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.006924, allocations: 58.84 kB / 327.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003117/0.007236, allocations: 162.2 kB / 327.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.007368, allocations: 19 kB / 327.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.008421, allocations: 0.652 MB / 328.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.008616, allocations: 80.16 kB / 328.5 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.64e-05/0.008682, allocations: 18.64 kB / 328.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.259e-05/0.008735, allocations: 11.25 kB / 328.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.008855, allocations: 71.7 kB / 328.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.008982, allocations: 69.97 kB / 328.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008096/0.009792, allocations: 455.3 kB / 329.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.009797, allocations: 0 / 329.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.0098, allocations: 0.6094 kB / 329.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.016e-06/0.009809, allocations: 1.094 kB / 329.1 MB, free: 14.52 MB / 302.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.00117/0.01098, allocations: 0.7452 MB / 329.8 MB, free: 13.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.01103, allocations: 13.02 kB / 329.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.01116, allocations: 46.22 kB / 329.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.01155, allocations: 237.6 kB / 330.1 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.251e-05/0.01159, allocations: 12.62 kB / 330.1 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.01163, allocations: 13.52 kB / 330.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005341/0.01216, allocations: 309.2 kB / 330.4 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.01217, allocations: 1.344 kB / 330.4 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.0122, allocations: 7.906 kB / 330.4 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.01222, allocations: 5.031 kB / 330.4 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003553/0.01257, allocations: 230.9 kB / 330.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008555/0.01343, allocations: 422.7 kB / 331.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00047/0.0139, allocations: 253 kB / 331.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/0.01422, allocations: 238 kB / 331.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.01424, allocations: 4.938 kB / 331.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007283/0.01497, allocations: 401.3 kB / 332 MB, free: 11.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.763e-06/0.01497, allocations: 0 / 332 MB, free: 11.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.00144/0.01641, allocations: 0.9161 MB / 332.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001545/0.01656, allocations: 194 kB / 333.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009085/0.01747, allocations: 0.5624 MB / 333.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.393e-05/0.01752, allocations: 29.98 kB / 333.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.01764, allocations: 124.7 kB / 333.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.962e-05/0.0177, allocations: 35.92 kB / 333.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.01787, allocations: 96.38 kB / 333.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002227/0.0181, allocations: 336.1 kB / 334.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.01837, allocations: 227.7 kB / 334.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003542/0.01873, allocations: 253.2 kB / 334.7 MB, free: 9.699 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005393/0.01927, allocations: 450.2 kB / 335.1 MB, free: 9.285 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.01927, allocations: 1.5 kB / 335.1 MB, free: 9.285 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001029/0.0203, allocations: 0.6566 MB / 335.8 MB, free: 8.805 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001612/0.02046, allocations: 159.1 kB / 336 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.02047, allocations: 4.031 kB / 336 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.02049, allocations: 1.219 kB / 336 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.273e-05/0.02052, allocations: 5.125 kB / 336 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.02053, allocations: 1.062 kB / 336 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.02072, allocations: 18.64 kB / 336 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000162/0.02089, allocations: 98.62 kB / 336.1 MB, free: 8.605 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.0004913/0.02138, allocations: 397 kB / 336.5 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.075e-05/0.02147, allocations: 50.94 kB / 336.5 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.0216, allocations: 75.44 kB / 336.6 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.02161, allocations: 0 / 336.6 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.02161, allocations: 5.344 kB / 336.6 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.02162, allocations: 0 / 336.6 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.0231, allocations: 1.033 MB / 337.6 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.0231, allocations: 0 / 337.6 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.418e-06/0.02311, allocations: 5.234 kB / 337.6 MB, free: 7.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.02312, allocations: 0 / 337.6 MB, free: 7.363 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.319e-05/0.02316, allocations: 24.16 kB / 337.7 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.02316, allocations: 1.219 kB / 337.7 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.02316, allocations: 0 / 337.7 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.0242, allocations: 0.8205 MB / 338.5 MB, free: 6.738 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004306/0.02463, allocations: 220.6 kB / 338.7 MB, free: 6.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.462e-05/0.02472, allocations: 11.78 kB / 338.7 MB, free: 6.586 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.02488, allocations: 14.52 kB / 338.7 MB, free: 6.582 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.02505, allocations: 57.53 kB / 338.8 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/0.02517, allocations: 106.5 kB / 338.9 MB, free: 6.449 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007013/0.02587, allocations: 426.7 kB / 339.3 MB, free: 6.039 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02587, allocations: 0 / 339.3 MB, free: 6.039 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003213/0.02619, allocations: 52 kB / 339.4 MB, free: 5.988 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.0001851/0.02638, allocations: 115.3 kB / 339.5 MB, free: 5.863 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008566/0.02723, allocations: 0.7636 MB / 340.2 MB, free: 4.977 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.02724, allocations: 4 kB / 340.2 MB, free: 4.973 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005212/0.02776, allocations: 0.5326 MB / 340.8 MB, free: 4.344 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009288/0.02869, allocations: 198.4 kB / 341 MB, free: 4.168 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.03029, allocations: 0.903 MB / 341.9 MB, free: 3.211 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.03061, allocations: 215.6 kB / 342.1 MB, free: 2.973 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.449e-05/0.03067, allocations: 12.97 kB / 342.1 MB, free: 2.957 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.0307, allocations: 16.5 kB / 342.1 MB, free: 2.941 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.0307, allocations: 3.938 kB / 342.1 MB, free: 2.938 MB / 302.1 MB Notification: Performance of Templates: time 0.01701/0.04772, allocations: 7.992 MB / 350.1 MB, free: 10.89 MB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.52824704349041]