Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp2.S.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Nand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000998/0.0009982, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.188/1.188, allocations: 227.2 MB / 245 MB, free: 5.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001007/0.001007, allocations: 101.5 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002136/0.0002136, allocations: 4 kB / 357.9 MB, free: 9.344 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2005, allocations: 51.49 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1135/0.314, allocations: 104.9 MB / 0.5023 GB, free: 1.625 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.3143, allocations: 71.97 kB / 0.5024 GB, free: 1.555 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4005/0.7148, allocations: 138.9 MB / 0.638 GB, free: 2.707 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.7148, allocations: 0 / 0.638 GB, free: 2.707 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.305e-05/0.7149, allocations: 40 kB / 0.638 GB, free: 2.668 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.005965/0.7208, allocations: 3.242 MB / 0.6412 GB, free: 15.35 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.7209, allocations: 12.03 kB / 0.6412 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005385/0.7214, allocations: 379.2 kB / 0.6416 GB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003786/0.7252, allocations: 2.243 MB / 0.6438 GB, free: 12.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.7253, allocations: 33 kB / 0.6438 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.7254, allocations: 47.91 kB / 0.6439 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.7268, allocations: 0.8339 MB / 0.6447 GB, free: 11.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.7269, allocations: 0 / 0.6447 GB, free: 11.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.137e-05/0.7269, allocations: 20 kB / 0.6447 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.727, allocations: 19.98 kB / 0.6447 GB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.7285, allocations: 0.828 MB / 0.6455 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005133/0.7336, allocations: 2.936 MB / 0.6484 GB, free: 7.832 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.7348, allocations: 0.7401 MB / 0.6491 GB, free: 7.066 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2049/0.9397, allocations: 36.44 MB / 0.6847 GB, free: 76.26 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006344/0.9404, allocations: 384.2 kB / 0.6851 GB, free: 76.21 MB / 442.7 MB Notification: Performance of pre-optimization done (n=49): time 2.855e-06/0.9404, allocations: 2.938 kB / 0.6851 GB, free: 76.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.002682/0.9431, allocations: 1.446 MB / 0.6865 GB, free: 75.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/0.9432, allocations: 272.5 kB / 0.6867 GB, free: 75.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003541/0.9467, allocations: 2.328 MB / 0.689 GB, free: 75.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.436e-05/0.9468, allocations: 37.45 kB / 0.689 GB, free: 75.29 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009674/0.9478, allocations: 1.391 MB / 0.6904 GB, free: 75.08 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.9479, allocations: 162.2 kB / 0.6906 GB, free: 75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.9479, allocations: 14.19 kB / 0.6906 GB, free: 75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.502e-05/0.948, allocations: 341.3 kB / 0.6909 GB, free: 74.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004928/0.9485, allocations: 258.5 kB / 0.6911 GB, free: 74.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006344/0.9491, allocations: 0.6496 MB / 0.6918 GB, free: 74.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007341/0.9499, allocations: 346.1 kB / 0.6921 GB, free: 74.19 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.576e-05/0.9499, allocations: 7.016 kB / 0.6921 GB, free: 74.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002121/0.952, allocations: 1.316 MB / 0.6934 GB, free: 73.96 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.9521, allocations: 16.59 kB / 0.6934 GB, free: 73.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-05/0.9522, allocations: 82.67 kB / 0.6935 GB, free: 73.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004724/0.9526, allocations: 273.3 kB / 0.6937 GB, free: 73.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005227/0.9532, allocations: 183.3 kB / 0.6939 GB, free: 73.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006915/0.9539, allocations: 0.8833 MB / 0.6948 GB, free: 73.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.955, allocations: 136.4 kB / 0.6949 GB, free: 73.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.769e-05/0.9551, allocations: 64.31 kB / 0.695 GB, free: 73.4 MB / 442.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.0007259/0.9558, allocations: 421.1 kB / 0.6954 GB, free: 73.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003804/0.9562, allocations: 363.4 kB / 0.6957 GB, free: 73.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002938/0.9592, allocations: 1.351 MB / 0.697 GB, free: 73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.9592, allocations: 3.969 kB / 0.697 GB, free: 73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.9592, allocations: 0 / 0.697 GB, free: 73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.9592, allocations: 3.469 kB / 0.6971 GB, free: 73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003343/0.9625, allocations: 2.249 MB / 0.6992 GB, free: 72.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.868e-05/0.9626, allocations: 72.84 kB / 0.6993 GB, free: 72.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.9629, allocations: 83.59 kB / 0.6994 GB, free: 72.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003597/0.9633, allocations: 257.8 kB / 0.6996 GB, free: 72.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.615e-05/0.9634, allocations: 35.73 kB / 0.6997 GB, free: 72.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006116/0.964, allocations: 0.8614 MB / 0.7005 GB, free: 72.05 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.964, allocations: 0 / 0.7005 GB, free: 72.05 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/0.9655, allocations: 1.268 MB / 0.7018 GB, free: 71.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007115/0.9662, allocations: 477.6 kB / 0.7022 GB, free: 71.24 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002436/0.9664, allocations: 18.3 kB / 0.7022 GB, free: 71.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006343/0.9671, allocations: 45.62 kB / 0.7023 GB, free: 71.24 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.9672, allocations: 67.53 kB / 0.7023 GB, free: 71.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-05/0.9673, allocations: 39.7 kB / 0.7024 GB, free: 71.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001675/0.9689, allocations: 1.787 MB / 0.7041 GB, free: 71.05 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.9689, allocations: 0 / 0.7041 GB, free: 71.05 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001199/0.9702, allocations: 0.6179 MB / 0.7047 GB, free: 71.05 MB / 442.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.0009152/0.9711, allocations: 0.8633 MB / 0.7056 GB, free: 70.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.9725, allocations: 0.8821 MB / 0.7064 GB, free: 70.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.9725, allocations: 0 / 0.7064 GB, free: 70.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006958/0.9732, allocations: 0.5019 MB / 0.7069 GB, free: 70.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.9747, allocations: 0.5477 MB / 0.7075 GB, free: 70.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/0.9786, allocations: 4.419 MB / 0.7118 GB, free: 68.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007266/0.9794, allocations: 1.659 MB / 0.7134 GB, free: 67.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009708/0.9804, allocations: 346.4 kB / 0.7137 GB, free: 67.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.9805, allocations: 138.5 kB / 0.7139 GB, free: 67.74 MB / 442.7 MB Notification: Performance of SimCode: time 3e-07/0.9805, allocations: 0 / 0.7139 GB, free: 67.74 MB / 442.7 MB Notification: Performance of Templates: time 0.04086/1.021, allocations: 31.48 MB / 0.7446 GB, free: 63.57 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nand.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nand.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nand.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nand.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nand.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nand.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Nand/Nand.csv","../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches