Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001858/0.001858, allocations: 116.7 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002111/0.002111, allocations: 213.6 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 230.5 MB / 257.4 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 55.91 kB / 377.8 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3007, allocations: 53.4 MB / 431.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006974/0.3077, allocations: 5.012 MB / 436.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002971/0.3106, allocations: 1.295 MB / 437.5 MB, free: 332 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005126/0.3112, allocations: 15.94 kB / 437.5 MB, free: 316 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003505/0.3115, allocations: 122.7 kB / 437.6 MB, free: 192 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005685/0.3121, allocations: 261.8 kB / 437.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007758/0.3129, allocations: 315.5 kB / 438.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.3141, allocations: 1.099 MB / 439.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003426/0.3145, allocations: 187 kB / 439.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005612/0.315, allocations: 426.5 kB / 439.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006375/0.3157, allocations: 486 kB / 440.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.3158, allocations: 88 kB / 440.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002142/0.316, allocations: 112 kB / 440.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.3162, allocations: 203.3 kB / 440.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004593/0.3167, allocations: 457.8 kB / 441.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.3179, allocations: 1.035 MB / 442.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3179, allocations: 0 / 442.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3179, allocations: 4 kB / 442.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.3179, allocations: 0 / 442.3 MB, free: 11.55 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002517/0.3204, allocations: 1.209 MB / 443.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.3204, allocations: 8.031 kB / 443.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001516/0.3206, allocations: 106.7 kB / 443.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.3208, allocations: 100.3 kB / 443.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007289/0.3215, allocations: 430.1 kB / 444.1 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.122e-05/0.3215, allocations: 53.67 kB / 444.2 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.3216, allocations: 64.33 kB / 444.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.323, allocations: 0.6546 MB / 444.9 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.323, allocations: 0 / 444.9 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.3231, allocations: 31.94 kB / 444.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.3231, allocations: 16 kB / 444.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.3248, allocations: 0.6999 MB / 445.6 MB, free: 8.098 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004183/0.329, allocations: 2.3 MB / 447.9 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.3304, allocations: 0.5616 MB / 448.5 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007216/0.3311, allocations: 318.5 kB / 448.8 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.306e-05/0.3311, allocations: 12.42 kB / 448.8 MB, free: 4.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009316/0.3321, allocations: 425.4 kB / 449.2 MB, free: 4.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.004e-06/0.3321, allocations: 0 / 449.2 MB, free: 4.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07019/0.4023, allocations: 15.24 MB / 464.5 MB, free: 5.012 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.4024, allocations: 141.5 kB / 464.6 MB, free: 4.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007423/0.4031, allocations: 0.5186 MB / 465.1 MB, free: 4.312 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001945/0.4033, allocations: 49.7 kB / 465.2 MB, free: 4.258 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003466/0.4037, allocations: 392.7 kB / 465.5 MB, free: 3.867 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003349/0.404, allocations: 333.2 kB / 465.9 MB, free: 3.539 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003694/0.4044, allocations: 182.6 kB / 466 MB, free: 3.355 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002139/0.4046, allocations: 390.7 kB / 466.4 MB, free: 2.965 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001991/0.4066, allocations: 0.7243 MB / 467.2 MB, free: 2.238 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002146/0.4087, allocations: 0.952 MB / 468.1 MB, free: 1.203 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004024/0.4127, allocations: 1.697 MB / 469.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.4128, allocations: 4 kB / 469.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02382/0.4366, allocations: 5.343 MB / 475.2 MB, free: 10.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.384e-05/0.4367, allocations: 67.39 kB / 475.2 MB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.4367, allocations: 8.125 kB / 475.2 MB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03558/0.4723, allocations: 6.844 MB / 482.1 MB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007142/0.473, allocations: 155.7 kB / 482.2 MB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006968/0.4799, allocations: 3.154 MB / 485.4 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/0.4815, allocations: 179.8 kB / 485.5 MB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.4816, allocations: 51.91 kB / 485.6 MB, free: 15.5 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 (V2.signalSource.count,$PRE.V2.signalSource.count,V2.signalSource.T_start,$PRE.V2.signalSource.T_start,V1.signalSource.count,$PRE.V1.signalSource.count,V1.signalSource.T_start,$PRE.V1.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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0004248/0.482, allocations: 229.7 kB / 485.8 MB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.4822, allocations: 83.48 kB / 485.9 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02254/0.5047, allocations: 5.068 MB / 491 MB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.328e-05/0.5048, allocations: 12 kB / 491 MB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.5048, allocations: 3.938 kB / 491 MB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.212e-05/0.5048, allocations: 3.984 kB / 491 MB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.5065, allocations: 1.08 MB / 492.1 MB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.5065, allocations: 0 / 492.1 MB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005056/0.507, allocations: 87.89 kB / 492.2 MB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.034/0.541, allocations: 6.797 MB / 499 MB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001694/0.5411, allocations: 23.98 kB / 499 MB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005781/0.5469, allocations: 3.049 MB / 0.4903 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5469, allocations: 0 / 0.4903 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02471/0.5716, allocations: 5.956 MB / 0.4961 GB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002693/0.5719, allocations: 75.41 kB / 0.4962 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.5721, allocations: 19.98 kB / 0.4962 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/0.5734, allocations: 167.9 kB / 0.4963 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002665/0.5737, allocations: 96.83 kB / 0.4964 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.898e-05/0.5737, allocations: 35.97 kB / 0.4965 GB, free: 8.555 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004705/0.5742, allocations: 354.8 kB / 0.4968 GB, free: 8.207 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5742, allocations: 4 kB / 0.4968 GB, free: 8.203 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008025/0.575, allocations: 259.9 kB / 0.497 GB, free: 7.949 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (HeatCapacitor1.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,V1.signalSource.T_start,V1.signalSource.count,V2.signalSource.T_start,V2.signalSource.count) * Number of discrete states: 2 (V2.signalSource.count,V1.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02463/0.5996, allocations: 6.535 MB / 0.5034 GB, free: 1.371 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006769/0.6064, allocations: 2.091 MB / 0.5055 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6064, allocations: 448 / 0.5055 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003343/0.6098, allocations: 1.022 MB / 0.5065 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007594/0.6105, allocations: 141.1 kB / 0.5066 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05544/0.666, allocations: 15.88 MB / 0.5221 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005952/0.6666, allocations: 0.9507 MB / 0.523 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002976/0.6669, allocations: 58.27 kB / 0.5231 GB, free: 12.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003577/0.6672, allocations: 279.3 kB / 0.5234 GB, free: 12.58 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.6672, allocations: 0 / 0.5234 GB, free: 12.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2612/0.9284, allocations: 30.94 MB / 0.5536 GB, free: 100.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.02/14.95, allocations: 6.641 kB / 0.5536 GB, free: 100.2 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.csv --start-time 0 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0396747 Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.616424132000247]