Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001667/0.001667, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00223/0.00223, allocations: 215.9 kB / 23.54 MB, free: 5.398 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 230.2 MB / 256.8 MB, free: 8.633 MB / 206.1 MB [Timeout remaining time 88] 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.Analog.Examples.NandGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5059,variableFilter="time|Nand.C4.v|Nand.C7.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate") translateModel(Modelica.Electrical.Analog.Examples.NandGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5059,variableFilter="time|Nand.C4.v|Nand.C7.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 63.89 kB / 376.9 MB, free: 3.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2544, allocations: 53.31 MB / 430.2 MB, free: 7.484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.NandGate): time 0.005847/0.2603, allocations: 4.272 MB / 434.5 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002459/0.2627, allocations: 1.215 MB / 435.7 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003562/0.2631, allocations: 15.94 kB / 435.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002891/0.2634, allocations: 110.9 kB / 435.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004232/0.2638, allocations: 186.3 kB / 436 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007013/0.2645, allocations: 331.5 kB / 436.3 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001132/0.2656, allocations: 1.085 MB / 437.4 MB, free: 252 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003465/0.266, allocations: 202.6 kB / 437.6 MB, free: 40 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005093/0.2665, allocations: 406.9 kB / 438 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005251/0.267, allocations: 458.3 kB / 438.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001574/0.2672, allocations: 120 kB / 438.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.2673, allocations: 120 kB / 438.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002171/0.2675, allocations: 223.3 kB / 438.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004364/0.268, allocations: 454 kB / 439.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.2692, allocations: 1.227 MB / 440.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2692, allocations: 0 / 440.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2692, allocations: 0 / 440.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.032e-05/0.2693, allocations: 3.938 kB / 440.6 MB, free: 13.06 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.003005/0.2723, allocations: 1.274 MB / 441.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.2723, allocations: 8.031 kB / 441.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.2725, allocations: 88.42 kB / 441.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007522/0.2732, allocations: 485.9 kB / 442.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.288e-05/0.2733, allocations: 49.69 kB / 442.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.2734, allocations: 56.38 kB / 442.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/0.2758, allocations: 0.9684 MB / 443.5 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.2758, allocations: 0 / 443.5 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.465e-05/0.2759, allocations: 31.98 kB / 443.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/0.2759, allocations: 16 kB / 443.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002916/0.2788, allocations: 1.003 MB / 444.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005267/0.2841, allocations: 3.204 MB / 447.7 MB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002398/0.2865, allocations: 0.9028 MB / 448.6 MB, free: 4.645 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/0.2877, allocations: 417.8 kB / 449 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.119e-05/0.2877, allocations: 16.56 kB / 449.1 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/0.2889, allocations: 461.1 kB / 449.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 3.015e-06/0.2889, allocations: 0 / 449.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.003289/0.2922, allocations: 1.104 MB / 450.6 MB, free: 2.645 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002296/0.2925, allocations: 376.2 kB / 451 MB, free: 2.191 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008464/0.2933, allocations: 0.581 MB / 451.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.801e-05/0.2934, allocations: 37.7 kB / 451.6 MB, free: 1.555 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/0.2937, allocations: 380.4 kB / 452 MB, free: 1.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/0.2938, allocations: 174.5 kB / 452.1 MB, free: 1.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002523/0.2941, allocations: 138.6 kB / 452.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.2943, allocations: 374.8 kB / 452.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.2955, allocations: 401.7 kB / 453 MB, free: 104 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.2969, allocations: 0.6734 MB / 453.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002382/0.2993, allocations: 0.974 MB / 454.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.2993, allocations: 3.938 kB / 454.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003038/0.3024, allocations: 1.142 MB / 455.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.228e-05/0.3024, allocations: 63.41 kB / 455.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.3025, allocations: 8 kB / 455.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/0.3025, allocations: 8 kB / 455.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.3035, allocations: 223.9 kB / 456.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.193e-05/0.3035, allocations: 15.92 kB / 456.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.3046, allocations: 183.2 kB / 456.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.805e-05/0.3047, allocations: 39.98 kB / 456.4 MB, free: 12.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 10 (VIN2.signalSource.count,$PRE.VIN2.signalSource.count,VIN2.signalSource.T_start,$PRE.VIN2.signalSource.T_start,VIN1.signalSource.count,$PRE.VIN1.signalSource.count,VIN1.signalSource.T_start,$PRE.VIN1.signalSource.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 2 * 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.0003771/0.3051, allocations: 229.5 kB / 456.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.3052, allocations: 71.58 kB / 456.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.3054, allocations: 70.41 kB / 456.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.3054, allocations: 4 kB / 456.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3054, allocations: 0 / 456.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.3054, allocations: 3.984 kB / 456.7 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003454/0.3088, allocations: 1.681 MB / 458.4 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3088, allocations: 0 / 458.4 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007927/0.3096, allocations: 151.8 kB / 458.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.3096, allocations: 4 kB / 458.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.073e-05/0.3097, allocations: 11.98 kB / 458.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3097, allocations: 0 / 458.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3097, allocations: 0 / 458.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003372/0.3131, allocations: 1.307 MB / 459.9 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.3133, allocations: 156.5 kB / 460 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.3134, allocations: 20.06 kB / 460.1 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007796/0.3142, allocations: 107.8 kB / 460.2 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.3143, allocations: 52.31 kB / 460.2 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/0.3143, allocations: 16 kB / 460.2 MB, free: 8.555 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000601/0.3149, allocations: 402.8 kB / 460.6 MB, free: 8.164 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3149, allocations: 0 / 460.6 MB, free: 8.164 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000708/0.3156, allocations: 179.8 kB / 460.8 MB, free: 7.988 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Nand.C4.v,Nand.C7.v) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,VIN1.signalSource.T_start,VIN1.signalSource.count,VIN2.signalSource.T_start,VIN2.signalSource.count) * Number of discrete states: 2 (VIN1.signalSource.count,VIN2.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001935/0.3158, allocations: 115.2 kB / 460.9 MB, free: 7.867 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002655/0.3185, allocations: 0.969 MB / 461.9 MB, free: 6.871 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.3185, allocations: 0 / 461.9 MB, free: 6.871 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.3196, allocations: 391.3 kB / 462.3 MB, free: 6.488 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006607/0.3203, allocations: 102.2 kB / 462.4 MB, free: 6.387 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/0.3231, allocations: 1.286 MB / 463.6 MB, free: 5.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007483/0.3239, allocations: 0.8824 MB / 464.5 MB, free: 4.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004386/0.3243, allocations: 59.42 kB / 464.6 MB, free: 4.102 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3243, allocations: 3.938 kB / 464.6 MB, free: 4.098 MB / 366.1 MB Notification: Performance of Templates: time 0.02148/0.3458, allocations: 9.349 MB / 473.9 MB, free: 10.78 MB / 382.1 MB [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/NandGate/NandGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches