Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0017/0.0017, allocations: 106 kB / 21.18 MB, free: 0.6992 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.00173/0.00173, allocations: 179.9 kB / 24.46 MB, free: 4.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.814/1.814, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 59.91 kB / 347.6 MB, free: 9.59 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3856, allocations: 49.17 MB / 396.8 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002858/0.3884, allocations: 1.558 MB / 398.4 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.3904, allocations: 0.9231 MB / 399.3 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.739e-05/0.3905, allocations: 1.219 kB / 399.3 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.3906, allocations: 13.17 kB / 399.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.381e-05/0.3907, allocations: 32.25 kB / 399.3 MB, free: 7.781 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.391, allocations: 52.52 kB / 399.4 MB, free: 7.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002609/0.3913, allocations: 157.7 kB / 399.5 MB, free: 7.676 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3914, allocations: 22.47 kB / 399.6 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009834/0.3924, allocations: 0.6358 MB / 400.2 MB, free: 7.605 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.3926, allocations: 80.59 kB / 400.3 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.17e-05/0.3926, allocations: 13.75 kB / 400.3 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.853e-05/0.3927, allocations: 12.47 kB / 400.3 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.3928, allocations: 72.36 kB / 400.4 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.3929, allocations: 128.4 kB / 400.5 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007414/0.3936, allocations: 472.1 kB / 401 MB, free: 7.309 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3936, allocations: 0 / 401 MB, free: 7.309 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.3936, allocations: 0.5156 kB / 401 MB, free: 7.309 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.3937, allocations: 0 / 401 MB, free: 7.309 MB / 318.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.0008711/0.3945, allocations: 0.7588 MB / 401.7 MB, free: 6.656 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.3946, allocations: 13.2 kB / 401.7 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.3947, allocations: 41.64 kB / 401.8 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.395, allocations: 242.2 kB / 402 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.395, allocations: 5.531 kB / 402 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.374e-05/0.3951, allocations: 12.81 kB / 402 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004159/0.3955, allocations: 174.5 kB / 402.2 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.3955, allocations: 3.469 kB / 402.2 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.112e-05/0.3955, allocations: 4.125 kB / 402.2 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3955, allocations: 1.344 kB / 402.2 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.3957, allocations: 86.39 kB / 402.3 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008478/0.3966, allocations: 474.1 kB / 402.8 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.3968, allocations: 105.1 kB / 402.9 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.397, allocations: 85.77 kB / 402.9 MB, free: 5.914 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.3971, allocations: 1.531 kB / 402.9 MB, free: 5.914 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004032/0.3975, allocations: 243.4 kB / 403.2 MB, free: 5.773 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.3975, allocations: 0 / 403.2 MB, free: 5.773 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.001069/0.3985, allocations: 0.6117 MB / 403.8 MB, free: 5.473 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.4e-05/0.3986, allocations: 200.8 kB / 404 MB, free: 5.242 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009254/0.3995, allocations: 0.5565 MB / 404.5 MB, free: 4.945 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.3996, allocations: 33.17 kB / 404.6 MB, free: 4.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.035e-05/0.3997, allocations: 118.7 kB / 404.7 MB, free: 4.805 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.3997, allocations: 24.67 kB / 404.7 MB, free: 4.789 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/0.3999, allocations: 96.94 kB / 404.8 MB, free: 4.742 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.09e-05/0.4, allocations: 334.1 kB / 405.1 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.4002, allocations: 78.39 kB / 405.2 MB, free: 4.398 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.4004, allocations: 106.8 kB / 405.3 MB, free: 4.352 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000404/0.4008, allocations: 435.1 kB / 405.7 MB, free: 3.965 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.4008, allocations: 0 / 405.7 MB, free: 3.965 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007332/0.4015, allocations: 0.4998 MB / 406.2 MB, free: 3.695 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.783e-05/0.4016, allocations: 154.9 kB / 406.4 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.4016, allocations: 0 / 406.4 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.4016, allocations: 2.172 kB / 406.4 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.065e-05/0.4017, allocations: 5.406 kB / 406.4 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.4017, allocations: 2.172 kB / 406.4 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.4019, allocations: 12.06 kB / 406.4 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/0.4021, allocations: 100.8 kB / 406.5 MB, free: 3.52 MB / 318.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.0005045/0.4026, allocations: 398.3 kB / 406.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.985e-05/0.4026, allocations: 46.5 kB / 406.9 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.4028, allocations: 68.25 kB / 407 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.4028, allocations: 1.281 kB / 407 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.4028, allocations: 4.797 kB / 407 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.4028, allocations: 1.656 kB / 407 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.4042, allocations: 0.9387 MB / 408 MB, free: 2.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4042, allocations: 0 / 408 MB, free: 2.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.986e-06/0.4042, allocations: 0.8438 kB / 408 MB, free: 2.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4042, allocations: 5.312 kB / 408 MB, free: 2.516 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-05/0.4043, allocations: 22.48 kB / 408 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.4043, allocations: 0 / 408 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.4043, allocations: 10.19 kB / 408 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008376/0.4051, allocations: 0.6705 MB / 408.7 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00044/0.4056, allocations: 213.1 kB / 408.9 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.373e-05/0.4057, allocations: 13.88 kB / 408.9 MB, free: 1.977 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.4058, allocations: 20.39 kB / 408.9 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/0.406, allocations: 57.67 kB / 409 MB, free: 1.953 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/0.4061, allocations: 101 kB / 409.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006361/0.4068, allocations: 420.1 kB / 409.5 MB, free: 1.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4068, allocations: 0 / 409.5 MB, free: 1.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003646/0.4071, allocations: 55.66 kB / 409.5 MB, free: 1.723 MB / 318.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.0001423/0.4073, allocations: 110.1 kB / 409.6 MB, free: 1.633 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006257/0.4079, allocations: 477.4 kB / 410.1 MB, free: 1.262 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4079, allocations: 1.188 kB / 410.1 MB, free: 1.262 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003451/0.4083, allocations: 382.7 kB / 410.5 MB, free: 0.918 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008985/0.4092, allocations: 199.4 kB / 410.7 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.4107, allocations: 0.7582 MB / 411.4 MB, free: 440 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005816/0.4112, allocations: 0.8195 MB / 412.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.4114, allocations: 10.69 kB / 412.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.902e-05/0.4114, allocations: 17.69 kB / 412.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4114, allocations: 0 / 412.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of Templates: time 0.01953/0.4309, allocations: 7.473 MB / 419.8 MB, free: 11.56 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.367374024353921]