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) 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) 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=5000,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=5000,variableFilter="time|Nand.C4.v|Nand.C7.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001583/0.001583, allocations: 112.1 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001924/0.001924, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.575/1.575, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 55.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3381, allocations: 50.55 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.NandGate): time 0.005955/0.3441, allocations: 4.256 MB / 414.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00225/0.3464, allocations: 1.207 MB / 415.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000245/0.3467, allocations: 12 kB / 415.4 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.347, allocations: 106.8 kB / 415.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.3473, allocations: 178.3 kB / 415.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006835/0.348, allocations: 323.5 kB / 416 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001014/0.349, allocations: 1.101 MB / 417.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004245/0.3495, allocations: 286.6 kB / 417.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004364/0.3499, allocations: 402.8 kB / 417.8 MB, free: 9.691 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005102/0.3504, allocations: 462.2 kB / 418.2 MB, free: 9.238 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.3506, allocations: 120 kB / 418.4 MB, free: 9.121 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.3508, allocations: 120 kB / 418.5 MB, free: 9.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002162/0.351, allocations: 223.3 kB / 418.7 MB, free: 8.785 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004558/0.3515, allocations: 450 kB / 419.1 MB, free: 8.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.3526, allocations: 1.216 MB / 420.3 MB, free: 7.129 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.3526, allocations: 4 kB / 420.4 MB, free: 7.125 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3526, allocations: 3.938 kB / 420.4 MB, free: 7.121 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.3526, allocations: 0 / 420.4 MB, free: 7.121 MB / 334.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.002934/0.3556, allocations: 1.263 MB / 421.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3556, allocations: 8.031 kB / 421.6 MB, free: 5.781 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.3558, allocations: 88 kB / 421.7 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007044/0.3565, allocations: 477.6 kB / 422.2 MB, free: 5.191 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.495e-05/0.3566, allocations: 45.69 kB / 422.2 MB, free: 5.148 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.3567, allocations: 60.36 kB / 422.3 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.3588, allocations: 0.9722 MB / 423.3 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.3589, allocations: 0 / 423.3 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.201e-05/0.3589, allocations: 28 kB / 423.3 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.359, allocations: 19.94 kB / 423.3 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002791/0.3618, allocations: 0.9991 MB / 424.3 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004878/0.3667, allocations: 3.192 MB / 427.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002258/0.3689, allocations: 0.9084 MB / 428.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/0.3701, allocations: 452.8 kB / 428.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.063e-05/0.3702, allocations: 12.34 kB / 428.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001182/0.3714, allocations: 469 kB / 429.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.715e-06/0.3714, allocations: 3.938 kB / 429.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.003154/0.3745, allocations: 1.095 MB / 430.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001904/0.3747, allocations: 368.3 kB / 430.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007961/0.3755, allocations: 0.577 MB / 431.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.558e-05/0.3756, allocations: 45.69 kB / 431.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.3759, allocations: 367.6 kB / 431.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.3761, allocations: 169.6 kB / 431.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00026/0.3763, allocations: 142.5 kB / 432.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3765, allocations: 374.8 kB / 432.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.3776, allocations: 405.6 kB / 432.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.379, allocations: 0.6811 MB / 433.5 MB, free: 9.359 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002181/0.3812, allocations: 0.974 MB / 434.5 MB, free: 8.289 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3812, allocations: 0 / 434.5 MB, free: 8.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002752/0.384, allocations: 1.134 MB / 435.6 MB, free: 7.137 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.632e-05/0.384, allocations: 67.39 kB / 435.7 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.3841, allocations: 8 kB / 435.7 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.417e-05/0.3841, allocations: 12 kB / 435.7 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.3851, allocations: 219.9 kB / 435.9 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.786e-05/0.3851, allocations: 15.94 kB / 435.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.3862, allocations: 191 kB / 436.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.597e-05/0.3863, allocations: 28 kB / 436.1 MB, free: 6.594 MB / 350.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.0003083/0.3866, allocations: 229.6 kB / 436.4 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.3867, allocations: 67.25 kB / 436.4 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.3869, allocations: 70.41 kB / 436.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.3869, allocations: 0 / 436.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3869, allocations: 0 / 436.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.3871, allocations: 156.1 kB / 436.6 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.3872, allocations: 12 kB / 436.7 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007414/0.388, allocations: 103.9 kB / 436.8 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.3881, allocations: 52.31 kB / 436.8 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002685/0.3908, allocations: 0.9093 MB / 437.7 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003291/0.3941, allocations: 1.368 MB / 439.1 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001023/0.3951, allocations: 387.3 kB / 439.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000637/0.3958, allocations: 402.8 kB / 439.9 MB, free: 2.805 MB / 350.1 MB Notification: Performance of Backend: time 9.92e-07/0.3958, allocations: 0 / 439.9 MB, free: 2.805 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002184/0.398, allocations: 0.7575 MB / 440.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of SimCode: time 0.002391/0.4004, allocations: 1.512 MB / 442.1 MB, free: 476 kB / 350.1 MB Notification: Performance of Templates: time 0.02176/0.4222, allocations: 11.2 MB / 453.3 MB, free: 5.324 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches