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.001286/0.001286, allocations: 117.2 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.00147/0.00147, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.6 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 56.05 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2452, allocations: 50.55 MB / 409.9 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.NandGate): time 0.005387/0.2507, allocations: 4.233 MB / 414.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.2529, allocations: 1.219 MB / 415.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005032/0.2535, allocations: 11.94 kB / 415.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.2539, allocations: 106.9 kB / 415.5 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006018/0.2545, allocations: 186.3 kB / 415.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007927/0.2553, allocations: 327.6 kB / 416 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001356/0.2567, allocations: 1.101 MB / 417.1 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004128/0.2571, allocations: 282.5 kB / 417.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003891/0.2575, allocations: 414.8 kB / 417.8 MB, free: 9.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004508/0.258, allocations: 462.2 kB / 418.3 MB, free: 9.184 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.2581, allocations: 120 kB / 418.4 MB, free: 9.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.2583, allocations: 116 kB / 418.5 MB, free: 8.953 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.2585, allocations: 223.4 kB / 418.7 MB, free: 8.734 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003705/0.2588, allocations: 450 kB / 419.1 MB, free: 8.293 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009869/0.2598, allocations: 1.212 MB / 420.4 MB, free: 7.082 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2598, allocations: 0 / 420.4 MB, free: 7.082 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2599, allocations: 0 / 420.4 MB, free: 7.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.2599, allocations: 4 kB / 420.4 MB, free: 7.078 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.00283/0.2627, allocations: 1.266 MB / 421.6 MB, free: 5.742 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.2628, allocations: 12.03 kB / 421.6 MB, free: 5.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.2629, allocations: 80 kB / 421.7 MB, free: 5.652 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006381/0.2636, allocations: 485.5 kB / 422.2 MB, free: 5.141 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/0.2636, allocations: 45.69 kB / 422.2 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.2637, allocations: 60.36 kB / 422.3 MB, free: 5.039 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/0.2659, allocations: 0.9712 MB / 423.3 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.2659, allocations: 11.98 kB / 423.3 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.688e-05/0.266, allocations: 24 kB / 423.3 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.266, allocations: 12 kB / 423.3 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002988/0.269, allocations: 0.9991 MB / 424.3 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004663/0.2737, allocations: 3.195 MB / 427.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002348/0.2761, allocations: 0.9117 MB / 428.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00119/0.2773, allocations: 441.8 kB / 428.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.541e-05/0.2773, allocations: 16.58 kB / 428.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001231/0.2786, allocations: 465.1 kB / 429.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.935e-06/0.2786, allocations: 0 / 429.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.003248/0.2818, allocations: 1.099 MB / 430.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/0.282, allocations: 372.3 kB / 430.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007877/0.2828, allocations: 0.577 MB / 431.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.657e-05/0.2829, allocations: 41.69 kB / 431.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/0.2831, allocations: 363.6 kB / 431.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.2833, allocations: 173.6 kB / 431.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/0.2835, allocations: 142.5 kB / 432.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.2837, allocations: 378.8 kB / 432.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.2849, allocations: 405.7 kB / 432.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.2863, allocations: 0.6733 MB / 433.5 MB, free: 9.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002302/0.2886, allocations: 0.9662 MB / 434.5 MB, free: 8.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.82e-06/0.2886, allocations: 8 kB / 434.5 MB, free: 8.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002851/0.2915, allocations: 1.15 MB / 435.6 MB, free: 7.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.241e-05/0.2916, allocations: 63.39 kB / 435.7 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.2916, allocations: 8 kB / 435.7 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.2916, allocations: 8 kB / 435.7 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.2926, allocations: 223.8 kB / 435.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/0.2927, allocations: 11.94 kB / 435.9 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.2937, allocations: 187 kB / 436.1 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.607e-05/0.2938, allocations: 32 kB / 436.1 MB, free: 6.547 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.0003006/0.2941, allocations: 229.2 kB / 436.4 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.2942, allocations: 67.25 kB / 436.4 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.2944, allocations: 78.39 kB / 436.5 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.2944, allocations: 0 / 436.5 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2944, allocations: 0 / 436.5 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.2945, allocations: 148.2 kB / 436.7 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.2947, allocations: 12 kB / 436.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000751/0.2954, allocations: 107.9 kB / 436.8 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.2955, allocations: 52.31 kB / 436.8 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00276/0.2983, allocations: 0.9053 MB / 437.7 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003349/0.3017, allocations: 1.364 MB / 439.1 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001051/0.3027, allocations: 387.3 kB / 439.5 MB, free: 3.156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005543/0.3033, allocations: 402.8 kB / 439.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of Backend: time 5.81e-07/0.3033, allocations: 4 kB / 439.9 MB, free: 2.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002011/0.3053, allocations: 0.7624 MB / 440.6 MB, free: 1.973 MB / 350.1 MB Notification: Performance of SimCode: time 0.001846/0.3072, allocations: 1.523 MB / 442.2 MB, free: 420 kB / 350.1 MB Notification: Performance of Templates: time 0.01715/0.3243, allocations: 11.18 MB / 453.3 MB, free: 5.277 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