Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.NandGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001253, allocations: 112.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.001389, allocations: 211 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.41/1.41, allocations: 230.4 MB / 258.1 MB, free: 8.16 MB / 206.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-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.NandGate") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 63.91 kB / 378.8 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2401, allocations: 53.31 MB / 432.1 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.NandGate): time 0.005774/0.2458, allocations: 4.288 MB / 436.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.2479, allocations: 1.219 MB / 437.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002202/0.2481, allocations: 12 kB / 437.6 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.2484, allocations: 110.8 kB / 437.7 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003467/0.2487, allocations: 186.3 kB / 437.9 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006279/0.2493, allocations: 323.6 kB / 438.2 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001108/0.2505, allocations: 1.093 MB / 439.3 MB, free: 172 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003489/0.2508, allocations: 202.6 kB / 439.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004373/0.2512, allocations: 402.8 kB / 439.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005549/0.2518, allocations: 462.3 kB / 440.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.252, allocations: 120 kB / 440.4 MB, free: 15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.2521, allocations: 120 kB / 440.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002165/0.2523, allocations: 223.3 kB / 440.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004402/0.2528, allocations: 457.9 kB / 441.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.254, allocations: 1.22 MB / 442.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.254, allocations: 0 / 442.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.254, allocations: 0 / 442.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.254, allocations: 0 / 442.4 MB, free: 12.99 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.003027/0.2571, allocations: 1.281 MB / 443.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.2571, allocations: 8.031 kB / 443.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.2573, allocations: 92.41 kB / 443.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007115/0.258, allocations: 477.9 kB / 444.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.563e-05/0.2581, allocations: 53.62 kB / 444.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.2582, allocations: 60.36 kB / 444.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002334/0.2605, allocations: 0.9646 MB / 445.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.2605, allocations: 3.938 kB / 445.4 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.242e-05/0.2606, allocations: 28 kB / 445.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.2606, allocations: 20 kB / 445.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003116/0.2637, allocations: 0.9952 MB / 446.4 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005021/0.2688, allocations: 3.204 MB / 449.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002444/0.2712, allocations: 0.8885 MB / 450.5 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/0.2724, allocations: 421.7 kB / 450.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.898e-05/0.2725, allocations: 20.48 kB / 450.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001248/0.2737, allocations: 469.1 kB / 451.4 MB, free: 3.684 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.984e-06/0.2737, allocations: 3.938 kB / 451.4 MB, free: 3.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.003418/0.2772, allocations: 1.088 MB / 452.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002247/0.2774, allocations: 380.2 kB / 452.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008149/0.2782, allocations: 0.5771 MB / 453.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.798e-05/0.2783, allocations: 41.7 kB / 453.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002983/0.2786, allocations: 376.5 kB / 453.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.2787, allocations: 178.5 kB / 454 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002489/0.279, allocations: 138.6 kB / 454.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.2792, allocations: 378.8 kB / 454.5 MB, free: 432 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.2804, allocations: 401.7 kB / 454.9 MB, free: 28 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/0.2819, allocations: 0.6733 MB / 455.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002482/0.2844, allocations: 0.974 MB / 456.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.2844, allocations: 0 / 456.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003079/0.2875, allocations: 1.142 MB / 457.7 MB, free: 13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.58e-05/0.2875, allocations: 63.67 kB / 457.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.2876, allocations: 12 kB / 457.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.91e-05/0.2876, allocations: 11.98 kB / 457.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.2887, allocations: 219.6 kB / 458 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.391e-05/0.2887, allocations: 15.92 kB / 458 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.2897, allocations: 195.2 kB / 458.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.636e-05/0.2898, allocations: 36 kB / 458.2 MB, free: 12.45 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.0003199/0.2901, allocations: 221.5 kB / 458.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.2903, allocations: 75.56 kB / 458.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.2904, allocations: 70.41 kB / 458.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.2904, allocations: 0 / 458.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2904, allocations: 4 kB / 458.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.2906, allocations: 152.5 kB / 458.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.2907, allocations: 15.98 kB / 458.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007604/0.2914, allocations: 107.9 kB / 458.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.2916, allocations: 48.31 kB / 458.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002843/0.2944, allocations: 0.8977 MB / 459.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003481/0.2979, allocations: 1.376 MB / 461.2 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001045/0.2989, allocations: 363.3 kB / 461.5 MB, free: 9.078 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000591/0.2995, allocations: 402.8 kB / 461.9 MB, free: 8.688 MB / 366.1 MB Notification: Performance of Backend: time 5.11e-07/0.2995, allocations: 0 / 461.9 MB, free: 8.688 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002021/0.3015, allocations: 0.73 MB / 462.7 MB, free: 7.926 MB / 366.1 MB Notification: Performance of SimCode: time 0.002083/0.3036, allocations: 1.546 MB / 464.2 MB, free: 6.34 MB / 366.1 MB Notification: Performance of Templates: time 0.01918/0.3228, allocations: 11.59 MB / 475.8 MB, free: 10.8 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.NandGate.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.NandGate.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.NandGate.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.NandGate.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.NandGate.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.NandGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.NandGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.NandGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/NandGate/NandGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.NandGate.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.439065820071846]