Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002118/0.002118, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.445/1.445, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 51.92 kB / 373 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1081, allocations: 53.33 MB / 426.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.2264/0.3345, allocations: 4.97 MB / 431.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002841/0.3373, allocations: 1.29 MB / 432.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005106/0.3379, allocations: 15.59 kB / 432.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003257/0.3382, allocations: 121.4 kB / 432.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005658/0.3388, allocations: 269.2 kB / 433 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008298/0.3396, allocations: 307 kB / 433.3 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001171/0.3408, allocations: 1.091 MB / 434.4 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003221/0.3411, allocations: 190.3 kB / 434.6 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005083/0.3416, allocations: 435.9 kB / 435 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000533/0.3421, allocations: 480.2 kB / 435.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.3423, allocations: 90.66 kB / 435.6 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002519/0.3425, allocations: 112.5 kB / 435.7 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001696/0.3427, allocations: 204.1 kB / 435.9 MB, free: 6.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004245/0.3431, allocations: 452.9 kB / 436.3 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.3446, allocations: 1.034 MB / 437.3 MB, free: 6.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3446, allocations: 1.188 kB / 437.3 MB, free: 6.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3446, allocations: 0 / 437.3 MB, free: 6.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.456e-05/0.3446, allocations: 0.75 kB / 437.3 MB, free: 6.211 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.003034/0.3476, allocations: 1.291 MB / 438.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.3477, allocations: 8.625 kB / 438.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001488/0.3478, allocations: 110.6 kB / 438.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.348, allocations: 98.14 kB / 438.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007551/0.3488, allocations: 490.5 kB / 439.3 MB, free: 4.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.893e-05/0.3488, allocations: 52.22 kB / 439.4 MB, free: 4.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.3489, allocations: 68.73 kB / 439.4 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.3504, allocations: 0.6537 MB / 440.1 MB, free: 4.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.3504, allocations: 1.031 kB / 440.1 MB, free: 4.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.725e-05/0.3505, allocations: 26.38 kB / 440.1 MB, free: 4.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.3505, allocations: 19.12 kB / 440.1 MB, free: 4.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002173/0.3527, allocations: 0.6906 MB / 440.8 MB, free: 4.324 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.005655/0.3584, allocations: 2.378 MB / 443.2 MB, free: 2.867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.3599, allocations: 0.5611 MB / 443.8 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008702/0.3608, allocations: 308.9 kB / 444.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.875e-05/0.3608, allocations: 18.77 kB / 444.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001121/0.3619, allocations: 419.6 kB / 444.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.374e-06/0.3619, allocations: 4 kB / 444.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07152/0.4335, allocations: 15.37 MB / 459.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.4336, allocations: 151.7 kB / 460 MB, free: 12.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007358/0.4343, allocations: 0.5195 MB / 460.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002639/0.4346, allocations: 43.86 kB / 460.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003414/0.4349, allocations: 394.5 kB / 461 MB, free: 11.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003577/0.4353, allocations: 327.8 kB / 461.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004142/0.4357, allocations: 184.7 kB / 461.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.4359, allocations: 387.5 kB / 461.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002158/0.4381, allocations: 0.724 MB / 462.6 MB, free: 10.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002461/0.4405, allocations: 0.9587 MB / 463.5 MB, free: 9.922 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004677/0.4452, allocations: 1.699 MB / 465.2 MB, free: 8.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.4452, allocations: 4 kB / 465.2 MB, free: 8.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02429/0.4695, allocations: 5.335 MB / 470.6 MB, free: 3.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.031e-05/0.4696, allocations: 71.39 kB / 470.6 MB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.4696, allocations: 5.25 kB / 470.6 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03489/0.5045, allocations: 6.829 MB / 477.5 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000776/0.5053, allocations: 151.7 kB / 477.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006475/0.5118, allocations: 3.009 MB / 480.6 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/0.5137, allocations: 175.9 kB / 480.8 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/0.5139, allocations: 51.91 kB / 480.9 MB, free: 8.875 MB / 382.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.0005568/0.5144, allocations: 227.2 kB / 481.1 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/0.5146, allocations: 87.47 kB / 481.2 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02264/0.5373, allocations: 5.061 MB / 486.2 MB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/0.5373, allocations: 11.98 kB / 486.2 MB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.5373, allocations: 4 kB / 486.2 MB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-05/0.5373, allocations: 9.062 kB / 486.2 MB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.5391, allocations: 1.109 MB / 487.4 MB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.5391, allocations: 0 / 487.4 MB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005651/0.5397, allocations: 92.75 kB / 487.4 MB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03421/0.5739, allocations: 6.781 MB / 494.2 MB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002689/0.5742, allocations: 35.91 kB / 494.3 MB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006324/0.5805, allocations: 3.027 MB / 497.3 MB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5805, allocations: 2.5 kB / 497.3 MB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02497/0.6055, allocations: 5.945 MB / 0.4914 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003181/0.6058, allocations: 160.4 kB / 0.4916 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002314/0.606, allocations: 16 kB / 0.4916 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/0.6075, allocations: 171.8 kB / 0.4918 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002692/0.6077, allocations: 92.88 kB / 0.4919 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.985e-05/0.6078, allocations: 35.97 kB / 0.4919 GB, free: 1.871 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004601/0.6083, allocations: 358.8 kB / 0.4922 GB, free: 1.523 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6083, allocations: 0 / 0.4922 GB, free: 1.523 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008412/0.6091, allocations: 256 kB / 0.4925 GB, free: 1.273 MB / 398.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.02546/0.6346, allocations: 6.527 MB / 0.4989 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006326/0.6409, allocations: 1.966 MB / 0.5008 GB, free: 8.727 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.6409, allocations: 0 / 0.5008 GB, free: 8.727 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003688/0.6446, allocations: 1.011 MB / 0.5018 GB, free: 7.719 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000911/0.6455, allocations: 134.1 kB / 0.5019 GB, free: 7.594 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05604/0.7015, allocations: 15.91 MB / 0.5174 GB, free: 7.383 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006029/0.7021, allocations: 0.9507 MB / 0.5184 GB, free: 6.406 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003381/0.7025, allocations: 59.3 kB / 0.5184 GB, free: 6.352 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000377/0.7029, allocations: 271.3 kB / 0.5187 GB, free: 6.086 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.7029, allocations: 0 / 0.5187 GB, free: 6.086 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06923/0.7721, allocations: 29.96 MB / 0.5479 GB, free: 8.391 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.87, allocations: 7.531 kB / 0.5479 GB, free: 8.387 MB / 462.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_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_4_1_0_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_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: 16.632225811001263]