Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.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.Analog.Examples.NandGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nand.C4.v|Nand.C7.v",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.NandGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001394/0.001394, allocations: 181.4 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.503/1.503, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.0007725/0.0007726, allocations: 84.19 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002728/0.0002729, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2538, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09903/0.3529, allocations: 79.69 MB / 455.5 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.3532, allocations: 75.97 kB / 455.6 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02676/0.38, allocations: 10.27 MB / 465.8 MB, free: 6.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.38, allocations: 0 / 465.8 MB, free: 6.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.455e-05/0.3801, allocations: 12 kB / 465.8 MB, free: 6.578 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002487/0.3826, allocations: 1.14 MB / 467 MB, free: 5.375 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.3826, allocations: 15.97 kB / 467 MB, free: 5.359 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.3828, allocations: 71.16 kB / 467.1 MB, free: 5.289 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005481/0.3833, allocations: 424.7 kB / 467.5 MB, free: 4.832 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.678e-05/0.3834, allocations: 49.3 kB / 467.5 MB, free: 4.781 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.3835, allocations: 52 kB / 467.6 MB, free: 4.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/0.3856, allocations: 0.9955 MB / 468.6 MB, free: 3.676 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.3856, allocations: 0 / 468.6 MB, free: 3.676 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.503e-05/0.3857, allocations: 28 kB / 468.6 MB, free: 3.648 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.3857, allocations: 16 kB / 468.6 MB, free: 3.633 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003034/0.3888, allocations: 1.124 MB / 469.7 MB, free: 2.508 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005161/0.394, allocations: 3.166 MB / 472.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002316/0.3963, allocations: 1.035 MB / 474 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.007e-05/0.3964, allocations: 16.48 kB / 474 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001258/0.3976, allocations: 0.5088 MB / 474.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 2.686e-06/0.3976, allocations: 3.938 kB / 474.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.00328/0.4009, allocations: 1.26 MB / 475.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001802/0.4011, allocations: 273.5 kB / 476 MB, free: 12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006818/0.4018, allocations: 457 kB / 476.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.116e-05/0.4019, allocations: 37.7 kB / 476.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/0.4021, allocations: 335.6 kB / 476.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.4023, allocations: 165.6 kB / 477 MB, free: 11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.4024, allocations: 16 kB / 477 MB, free: 10.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.4025, allocations: 374.7 kB / 477.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.4037, allocations: 457.7 kB / 477.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/0.405, allocations: 0.7042 MB / 478.5 MB, free: 9.352 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.4062, allocations: 0.5247 MB / 479 MB, free: 8.816 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.4062, allocations: 0 / 479 MB, free: 8.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003104/0.4094, allocations: 1.243 MB / 480.3 MB, free: 7.551 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.758e-05/0.4095, allocations: 59.41 kB / 480.3 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/0.4095, allocations: 8 kB / 480.3 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.788e-05/0.4095, allocations: 8 kB / 480.4 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.4106, allocations: 252 kB / 480.6 MB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-05/0.4107, allocations: 19.89 kB / 480.6 MB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.4119, allocations: 219 kB / 480.8 MB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.256e-05/0.412, allocations: 32 kB / 480.9 MB, free: 6.953 MB / 362.7 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 ($whenCondition2,$whenCondition1,$PRE.VIN1.signalSource.T_start,VIN1.signalSource.T_start,$PRE.VIN1.signalSource.count,VIN1.signalSource.count,$PRE.VIN2.signalSource.T_start,VIN2.signalSource.T_start,$PRE.VIN2.signalSource.count,VIN2.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004279/0.4124, allocations: 213.6 kB / 481.1 MB, free: 6.734 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.4125, allocations: 63.25 kB / 481.1 MB, free: 6.672 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.4127, allocations: 73.52 kB / 481.2 MB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.4127, allocations: 4 kB / 481.2 MB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.4127, allocations: 0 / 481.2 MB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.4128, allocations: 3.953 kB / 481.2 MB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003382/0.4161, allocations: 1.747 MB / 483 MB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4162, allocations: 0 / 483 MB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007996/0.417, allocations: 175.8 kB / 483.1 MB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.011e-05/0.417, allocations: 7.953 kB / 483.1 MB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.205e-05/0.4171, allocations: 15.98 kB / 483.2 MB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.4171, allocations: 0 / 483.2 MB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4171, allocations: 0 / 483.2 MB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003389/0.4205, allocations: 1.462 MB / 484.6 MB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/0.4207, allocations: 140.3 kB / 484.8 MB, free: 2.949 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.447e-05/0.4208, allocations: 15.95 kB / 484.8 MB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007833/0.4216, allocations: 139.9 kB / 484.9 MB, free: 2.797 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.4218, allocations: 56.36 kB / 485 MB, free: 2.742 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.221e-05/0.4218, allocations: 15.98 kB / 485 MB, free: 2.727 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005503/0.4224, allocations: 350.8 kB / 485.3 MB, free: 2.387 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4224, allocations: 3.938 kB / 485.3 MB, free: 2.383 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006851/0.4231, allocations: 183.6 kB / 485.5 MB, free: 2.203 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Nand.C4.v,Nand.C7.v) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,VIN1.signalSource.T_start,VIN1.signalSource.count,VIN2.signalSource.T_start,VIN2.signalSource.count) * Number of discrete states: 2 (VIN1.signalSource.count,VIN2.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002082/0.4233, allocations: 116.1 kB / 485.6 MB, free: 2.082 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002503/0.4258, allocations: 1.118 MB / 486.7 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/0.4258, allocations: 5.109 kB / 486.7 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.4269, allocations: 470.2 kB / 487.2 MB, free: 488 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.4274, allocations: 76.11 kB / 487.3 MB, free: 416 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/0.4299, allocations: 1.416 MB / 488.7 MB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/0.4304, allocations: 0.871 MB / 489.6 MB, free: 14.06 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004344/0.4308, allocations: 72.66 kB / 489.6 MB, free: 13.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.431, allocations: 51.42 kB / 489.7 MB, free: 13.94 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.431, allocations: 4 kB / 489.7 MB, free: 13.94 MB / 378.7 MB Notification: Performance of Templates: time 0.01207/0.4431, allocations: 7.03 MB / 496.7 MB, free: 6.934 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/NandGate/NandGate.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches