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.001381/0.001381, allocations: 180 kB / 17.01 MB, free: 5.125 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.557/1.557, allocations: 205.4 MB / 223.1 MB, free: 9.113 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.001071/0.001071, allocations: 92.09 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002966, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2863, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.4196, allocations: 102.2 MB / 478 MB, free: 10.46 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.4199, allocations: 79.95 kB / 478.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4286/0.8485, allocations: 123.3 MB / 0.5873 GB, free: 27.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.8485, allocations: 0 / 0.5873 GB, free: 27.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.917e-05/0.8486, allocations: 48 kB / 0.5873 GB, free: 27.26 MB / 378.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.007463/0.8561, allocations: 3.25 MB / 0.5905 GB, free: 23.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.8562, allocations: 8.031 kB / 0.5905 GB, free: 23.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000808/0.857, allocations: 379.4 kB / 0.5909 GB, free: 23.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004683/0.8617, allocations: 2.263 MB / 0.5931 GB, free: 21.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.693e-05/0.8618, allocations: 36.95 kB / 0.5931 GB, free: 21.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.862, allocations: 51.91 kB / 0.5932 GB, free: 21.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.8634, allocations: 0.8339 MB / 0.594 GB, free: 20.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.8635, allocations: 0 / 0.594 GB, free: 20.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.53e-05/0.8636, allocations: 24 kB / 0.594 GB, free: 20.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.8636, allocations: 19.98 kB / 0.594 GB, free: 20.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.8649, allocations: 0.8241 MB / 0.5948 GB, free: 19.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005121/0.8701, allocations: 2.935 MB / 0.5977 GB, free: 16.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.8712, allocations: 0.7382 MB / 0.5984 GB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03663/0.9078, allocations: 35.91 MB / 0.6335 GB, free: 6.586 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008475/0.9087, allocations: 389.3 kB / 0.6339 GB, free: 6.195 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 3.617e-06/0.9088, allocations: 0 / 0.6339 GB, free: 6.195 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.003646/0.9124, allocations: 1.454 MB / 0.6353 GB, free: 4.707 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001636/0.9126, allocations: 273 kB / 0.6355 GB, free: 4.379 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004788/0.9174, allocations: 2.351 MB / 0.6378 GB, free: 2.016 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.9175, allocations: 37.7 kB / 0.6379 GB, free: 1.973 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001805/0.9194, allocations: 1.395 MB / 0.6392 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/0.9196, allocations: 161.7 kB / 0.6394 GB, free: 420 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.851e-05/0.9197, allocations: 16 kB / 0.6394 GB, free: 404 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.9199, allocations: 338 kB / 0.6397 GB, free: 60 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007248/0.9206, allocations: 253.8 kB / 0.64 GB, free: 15.81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009773/0.9216, allocations: 0.6582 MB / 0.6406 GB, free: 14.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007497/0.9224, allocations: 336.1 kB / 0.6409 GB, free: 14.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/0.9224, allocations: 4 kB / 0.6409 GB, free: 14.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003016/0.9254, allocations: 1.322 MB / 0.6422 GB, free: 13.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.9255, allocations: 8 kB / 0.6422 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001316/0.9256, allocations: 84.89 kB / 0.6423 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006021/0.9262, allocations: 288.8 kB / 0.6426 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006087/0.9268, allocations: 179.7 kB / 0.6428 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/0.9279, allocations: 0.871 MB / 0.6436 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.9295, allocations: 134.9 kB / 0.6437 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.9296, allocations: 63.98 kB / 0.6438 GB, free: 11.66 MB / 426.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 () * Number of clocked 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.00121/0.9308, allocations: 434.3 kB / 0.6442 GB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007162/0.9315, allocations: 367.6 kB / 0.6446 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00392/0.9355, allocations: 1.361 MB / 0.6459 GB, free: 9.484 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.9355, allocations: 4 kB / 0.6459 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.9355, allocations: 0 / 0.6459 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.9355, allocations: 3.984 kB / 0.6459 GB, free: 9.477 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005189/0.9407, allocations: 2.26 MB / 0.6481 GB, free: 7.133 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.906e-05/0.9408, allocations: 67.98 kB / 0.6482 GB, free: 7.066 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/0.9412, allocations: 80 kB / 0.6483 GB, free: 6.988 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004935/0.9417, allocations: 264.7 kB / 0.6485 GB, free: 6.727 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.205e-05/0.9418, allocations: 28 kB / 0.6485 GB, free: 6.699 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008994/0.9427, allocations: 0.8607 MB / 0.6494 GB, free: 5.812 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.9427, allocations: 4.031 kB / 0.6494 GB, free: 5.809 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/0.9448, allocations: 1.285 MB / 0.6506 GB, free: 4.445 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/0.9461, allocations: 480.4 kB / 0.6511 GB, free: 3.953 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006227/0.9468, allocations: 15.95 kB / 0.6511 GB, free: 3.938 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009901/0.9478, allocations: 47.95 kB / 0.6511 GB, free: 3.891 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.9479, allocations: 59.94 kB / 0.6512 GB, free: 3.832 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.841e-05/0.948, allocations: 39.98 kB / 0.6512 GB, free: 3.793 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003858/0.9519, allocations: 1.801 MB / 0.653 GB, free: 1.988 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9519, allocations: 0 / 0.653 GB, free: 1.988 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002183/0.9541, allocations: 0.6206 MB / 0.6536 GB, free: 1.367 MB / 426.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) * Number of clocked states: 0 () * 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.001721/0.9558, allocations: 0.8557 MB / 0.6544 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.2124/1.168, allocations: 0.8847 MB / 0.6553 GB, free: 100.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.168, allocations: 3.938 kB / 0.6553 GB, free: 100.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009747/1.169, allocations: 0.5 MB / 0.6558 GB, free: 100.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002037/1.171, allocations: 470 kB / 0.6562 GB, free: 100.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005393/1.177, allocations: 4.44 MB / 0.6606 GB, free: 98.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008366/1.178, allocations: 1.669 MB / 0.6622 GB, free: 97.49 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001086/1.179, allocations: 344 kB / 0.6625 GB, free: 97.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/1.179, allocations: 146.6 kB / 0.6627 GB, free: 97.46 MB / 426.7 MB Notification: Performance of SimCode: time 1.313e-06/1.179, allocations: 0 / 0.6627 GB, free: 97.46 MB / 426.7 MB Notification: Performance of Templates: time 0.05688/1.236, allocations: 31.52 MB / 0.6935 GB, free: 95.52 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