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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 103.1 kB / 18.4 MB, free: 4.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 188.5 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.282/1.282, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB 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.001199/0.001199, allocations: 51.92 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07256/0.07377, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002798/0.0766, allocations: 1.559 MB / 377.4 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.07843, allocations: 0.9011 MB / 378.3 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.441e-05/0.07852, allocations: 4 kB / 378.3 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.046e-05/0.07861, allocations: 11.88 kB / 378.3 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.283e-05/0.0787, allocations: 23.8 kB / 378.3 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.07896, allocations: 63.86 kB / 378.4 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.07918, allocations: 163.7 kB / 378.5 MB, free: 1.836 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.0793, allocations: 33.38 kB / 378.6 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006089/0.07991, allocations: 0.6317 MB / 379.2 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.08007, allocations: 79.62 kB / 379.3 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.473e-05/0.08013, allocations: 12 kB / 379.3 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.746e-05/0.08019, allocations: 12 kB / 379.3 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.551e-05/0.08028, allocations: 71.75 kB / 379.4 MB, free: 1 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.08042, allocations: 143 kB / 379.5 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000392/0.08082, allocations: 450.4 kB / 380 MB, free: 428 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.08084, allocations: 0 / 380 MB, free: 428 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.08084, allocations: 0 / 380 MB, free: 428 kB / 318.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.08086, allocations: 0 / 380 MB, free: 428 kB / 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.15/0.2309, allocations: 0.8144 MB / 380.8 MB, free: 12.99 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.231, allocations: 8.344 kB / 380.8 MB, free: 12.99 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.01e-05/0.231, allocations: 49.97 kB / 380.8 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.2313, allocations: 286.8 kB / 381.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.2314, allocations: 7.188 kB / 381.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.774e-05/0.2314, allocations: 12.12 kB / 381.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.2318, allocations: 167.2 kB / 381.3 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2318, allocations: 5.031 kB / 381.3 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.2318, allocations: 8.672 kB / 381.3 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.2318, allocations: 1.375 kB / 381.3 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.232, allocations: 88.31 kB / 381.4 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006866/0.2327, allocations: 0.4976 MB / 381.9 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.2329, allocations: 124.8 kB / 382 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.2331, allocations: 107 kB / 382.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.2331, allocations: 1.891 kB / 382.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003717/0.2335, allocations: 245.7 kB / 382.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.2335, allocations: 0 / 382.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009797/0.2345, allocations: 0.6101 MB / 383 MB, free: 12.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.2345, allocations: 198.7 kB / 383.2 MB, free: 11.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006705/0.2352, allocations: 0.5641 MB / 383.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.2353, allocations: 35.66 kB / 383.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.2353, allocations: 113.7 kB / 383.9 MB, free: 11.47 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.2354, allocations: 34.73 kB / 383.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.2355, allocations: 100.7 kB / 384 MB, free: 11.4 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.986e-05/0.2356, allocations: 329.5 kB / 384.3 MB, free: 11.08 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.2357, allocations: 84.64 kB / 384.4 MB, free: 11.06 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.2359, allocations: 94.77 kB / 384.5 MB, free: 11.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.2362, allocations: 436.3 kB / 384.9 MB, free: 10.64 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2362, allocations: 3.172 kB / 384.9 MB, free: 10.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006008/0.2368, allocations: 0.5048 MB / 385.4 MB, free: 10.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.974e-05/0.2369, allocations: 154 kB / 385.6 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2369, allocations: 1.125 kB / 385.6 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.2369, allocations: 6.531 kB / 385.6 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.926e-05/0.237, allocations: 3.219 kB / 385.6 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.237, allocations: 0.9375 kB / 385.6 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.2371, allocations: 17.56 kB / 385.6 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.421e-05/0.2372, allocations: 96.42 kB / 385.7 MB, free: 10.21 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.0002862/0.2375, allocations: 401 kB / 386.1 MB, free: 9.875 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.029e-05/0.2376, allocations: 46.69 kB / 386.1 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.446e-05/0.2377, allocations: 70.52 kB / 386.2 MB, free: 9.816 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2377, allocations: 3.281 kB / 386.2 MB, free: 9.816 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2377, allocations: 0.7969 kB / 386.2 MB, free: 9.816 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003148/0.238, allocations: 257.2 kB / 386.5 MB, free: 9.633 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.626e-05/0.2381, allocations: 11.73 kB / 386.5 MB, free: 9.629 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.2383, allocations: 16.17 kB / 386.5 MB, free: 9.625 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.2384, allocations: 53.39 kB / 386.6 MB, free: 9.613 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007181/0.2391, allocations: 0.882 MB / 387.4 MB, free: 8.945 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007148/0.2399, allocations: 0.7351 MB / 388.2 MB, free: 8.477 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002223/0.2401, allocations: 181.1 kB / 388.3 MB, free: 8.395 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000449/0.2405, allocations: 421 kB / 388.8 MB, free: 8.18 MB / 318.1 MB Notification: Performance of Backend: time 3.31e-07/0.2406, allocations: 3.938 kB / 388.8 MB, free: 8.176 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006702/0.2412, allocations: 0.519 MB / 389.3 MB, free: 7.723 MB / 318.1 MB Notification: Performance of SimCode: time 0.001373/0.2426, allocations: 1.504 MB / 390.8 MB, free: 6.5 MB / 318.1 MB Notification: Performance of Templates: time 0.01011/0.2527, allocations: 6.804 MB / 397.6 MB, free: 5.117 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches