Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp2.S.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nand") translateModel(Modelica.Electrical.Spice3.Examples.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp2.S.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00161/0.00161, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008297/0.0008298, allocations: 74.73 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.308e-05/2.312e-05, allocations: 4 kB / 322.4 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08674/0.08677, allocations: 47.57 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3779/0.4647, allocations: 102.1 MB / 472.1 MB, free: 7.426 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.465, allocations: 75.64 kB / 472.2 MB, free: 7.387 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5079/0.9729, allocations: 123.2 MB / 0.5814 GB, free: 90.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.9729, allocations: 0 / 0.5814 GB, free: 90.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.559e-05/0.973, allocations: 42.34 kB / 0.5815 GB, free: 90.96 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.006479/0.9795, allocations: 2.588 MB / 0.584 GB, free: 89.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.418e-05/0.9796, allocations: 11.16 kB / 0.584 GB, free: 89.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009785/0.9806, allocations: 380.5 kB / 0.5844 GB, free: 89.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00522/0.9858, allocations: 2.238 MB / 0.5866 GB, free: 88.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.419e-05/0.9859, allocations: 41.17 kB / 0.5866 GB, free: 88.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002471/0.9861, allocations: 45.72 kB / 0.5866 GB, free: 88.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.9875, allocations: 0.7557 MB / 0.5874 GB, free: 87.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.9876, allocations: 0 / 0.5874 GB, free: 87.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.783e-05/0.9877, allocations: 23.12 kB / 0.5874 GB, free: 87.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/0.9877, allocations: 17.34 kB / 0.5874 GB, free: 87.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.9887, allocations: 0.6797 MB / 0.5881 GB, free: 87.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006066/0.9948, allocations: 2.936 MB / 0.591 GB, free: 86.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007593/0.9956, allocations: 0.5989 MB / 0.5915 GB, free: 85.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000727/0.9963, allocations: 0.6043 MB / 0.5921 GB, free: 85.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02989/1.026, allocations: 36.07 MB / 0.6273 GB, free: 48.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004822/1.027, allocations: 321.5 kB / 0.6277 GB, free: 48.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 3.657e-06/1.027, allocations: 0 / 0.6277 GB, free: 48.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.00183/1.029, allocations: 0.8846 MB / 0.6285 GB, free: 47.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.66e-05/1.029, allocations: 269 kB / 0.6288 GB, free: 47.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004479/1.033, allocations: 2.314 MB / 0.631 GB, free: 44.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.785e-05/1.033, allocations: 41.7 kB / 0.6311 GB, free: 44.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001125/1.034, allocations: 1.397 MB / 0.6324 GB, free: 43.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00016/1.035, allocations: 169.1 kB / 0.6326 GB, free: 43.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/1.035, allocations: 16 kB / 0.6326 GB, free: 43.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.666e-05/1.035, allocations: 334 kB / 0.6329 GB, free: 42.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/1.035, allocations: 182 kB / 0.6331 GB, free: 42.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000483/1.036, allocations: 0.588 MB / 0.6337 GB, free: 41.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/1.036, allocations: 275.8 kB / 0.6339 GB, free: 41.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-06/1.036, allocations: 7.953 kB / 0.634 GB, free: 41.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001968/1.038, allocations: 1.174 MB / 0.6351 GB, free: 40.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/1.038, allocations: 12.03 kB / 0.6351 GB, free: 40.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.399e-05/1.038, allocations: 83.92 kB / 0.6352 GB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005358/1.039, allocations: 279.8 kB / 0.6355 GB, free: 40 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005764/1.039, allocations: 179.7 kB / 0.6356 GB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008617/1.04, allocations: 0.8763 MB / 0.6365 GB, free: 38.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/1.042, allocations: 119.1 kB / 0.6366 GB, free: 38.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/1.042, allocations: 63.95 kB / 0.6367 GB, free: 38.74 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.vin1.counter,vin1.counter,$PRE.vin2.counter,vin2.counter,$whenCondition2,$whenCondition1,$PRE.vin1.T0,vin1.T0,$PRE.vin1.counter2,vin1.counter2,$PRE.vin2.T0,vin2.T0,$PRE.vin2.counter2,vin2.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001957/1.042, allocations: 174 kB / 0.6368 GB, free: 38.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005626/1.043, allocations: 367.5 kB / 0.6372 GB, free: 38.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003006/1.046, allocations: 1.219 MB / 0.6384 GB, free: 36.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/1.046, allocations: 7.938 kB / 0.6384 GB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.046, allocations: 0 / 0.6384 GB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/1.046, allocations: 0 / 0.6384 GB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003873/1.05, allocations: 2.132 MB / 0.6405 GB, free: 34.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.742e-05/1.05, allocations: 75.98 kB / 0.6405 GB, free: 34.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003208/1.05, allocations: 67.94 kB / 0.6406 GB, free: 34.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004198/1.051, allocations: 264.8 kB / 0.6408 GB, free: 34.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.358e-05/1.051, allocations: 31.98 kB / 0.6409 GB, free: 34.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007555/1.051, allocations: 0.8557 MB / 0.6417 GB, free: 33.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.051, allocations: 0 / 0.6417 GB, free: 33.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/1.053, allocations: 1.144 MB / 0.6428 GB, free: 32.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009962/1.054, allocations: 476.4 kB / 0.6433 GB, free: 31.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000536/1.054, allocations: 15.98 kB / 0.6433 GB, free: 31.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009287/1.055, allocations: 43.97 kB / 0.6433 GB, free: 31.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/1.055, allocations: 63.86 kB / 0.6434 GB, free: 31.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.838e-05/1.056, allocations: 43.94 kB / 0.6434 GB, free: 31.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002956/1.059, allocations: 1.768 MB / 0.6452 GB, free: 29.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.059, allocations: 0 / 0.6452 GB, free: 29.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002043/1.061, allocations: 0.6206 MB / 0.6458 GB, free: 29.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin1.T0,vin1.counter,vin1.counter2,vin2.T0,vin2.counter,vin2.counter2) * Number of discrete states: 4 (vin1.counter2,vin2.counter2,vin1.counter,vin2.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001381/1.062, allocations: 0.8684 MB / 0.6466 GB, free: 28.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001161/1.063, allocations: 0.7482 MB / 0.6474 GB, free: 27.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/1.063, allocations: 0 / 0.6474 GB, free: 27.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005687/1.064, allocations: 444.7 kB / 0.6478 GB, free: 27.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/1.065, allocations: 474.4 kB / 0.6482 GB, free: 26.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004578/1.07, allocations: 2.778 MB / 0.6509 GB, free: 23.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000996/1.071, allocations: 1.667 MB / 0.6526 GB, free: 22.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001238/1.072, allocations: 344.4 kB / 0.6529 GB, free: 21.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/1.072, allocations: 139.4 kB / 0.653 GB, free: 21.77 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/1.072, allocations: 4 kB / 0.653 GB, free: 21.76 MB / 410.7 MB Notification: Performance of Templates: time 0.05855/1.131, allocations: 32.91 MB / 0.6852 GB, free: 4.824 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nand.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nand.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nand.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nand.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nand.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nand.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Nand/Nand.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches