Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001616/0.001616, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.001925/0.001925, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] 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 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_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002856/0.002856, allocations: 51.92 kB / 347.2 MB, free: 10.01 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3939, allocations: 49.15 MB / 396.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.005205/0.3991, allocations: 4.727 MB / 401.1 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002987/0.4021, allocations: 1.288 MB / 402.4 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007354/0.4028, allocations: 13.47 kB / 402.4 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003827/0.4032, allocations: 115 kB / 402.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007816/0.404, allocations: 253.3 kB / 402.7 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.4051, allocations: 300.6 kB / 403 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001499/0.4066, allocations: 1.049 MB / 404.1 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000343/0.407, allocations: 191.1 kB / 404.3 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005996/0.4076, allocations: 417.6 kB / 404.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005551/0.4081, allocations: 469.1 kB / 405.1 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001439/0.4083, allocations: 87.94 kB / 405.2 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002362/0.4085, allocations: 117.4 kB / 405.3 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.4086, allocations: 193.8 kB / 405.5 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003868/0.409, allocations: 439.5 kB / 406 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.4105, allocations: 0.9958 MB / 407 MB, free: 2.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4105, allocations: 3.938 kB / 407 MB, free: 2.375 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4105, allocations: 2.391 kB / 407 MB, free: 2.375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.435e-05/0.4105, allocations: 0 / 407 MB, free: 2.375 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002763/0.4133, allocations: 1.17 MB / 408.1 MB, free: 1.613 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.4133, allocations: 13.83 kB / 408.1 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001308/0.4135, allocations: 101.2 kB / 408.2 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001927/0.4137, allocations: 93.59 kB / 408.3 MB, free: 1.488 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007119/0.4144, allocations: 401.6 kB / 408.7 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.966e-05/0.4144, allocations: 51.42 kB / 408.8 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.4145, allocations: 62.52 kB / 408.8 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.4159, allocations: 0.6331 MB / 409.5 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.4159, allocations: 1.438 kB / 409.5 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.226e-05/0.416, allocations: 26.55 kB / 409.5 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.416, allocations: 17.47 kB / 409.5 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/0.4176, allocations: 0.6723 MB / 410.2 MB, free: 0.6641 MB / 318.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.004104/0.4217, allocations: 2.264 MB / 412.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.4232, allocations: 0.5556 MB / 413 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007529/0.424, allocations: 311.2 kB / 413.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.69e-05/0.4241, allocations: 7.156 kB / 413.3 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009387/0.425, allocations: 433.3 kB / 413.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 2.154e-06/0.425, allocations: 5.219 kB / 413.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=94): time 0.07491/0.4999, allocations: 15.23 MB / 429 MB, free: 2.332 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/0.5001, allocations: 145.5 kB / 429.1 MB, free: 2.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009158/0.501, allocations: 494.9 kB / 429.6 MB, free: 1.668 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003013/0.5013, allocations: 49.7 kB / 429.7 MB, free: 1.613 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005609/0.5018, allocations: 368.8 kB / 430 MB, free: 1.246 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006207/0.5025, allocations: 329.2 kB / 430.3 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004455/0.5029, allocations: 182.5 kB / 430.5 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003595/0.5033, allocations: 378.8 kB / 430.9 MB, free: 368 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002156/0.5054, allocations: 0.7202 MB / 431.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00251/0.5079, allocations: 0.9303 MB / 432.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004442/0.5124, allocations: 1.662 MB / 434.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/0.5124, allocations: 4 kB / 434.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02595/0.5383, allocations: 5.3 MB / 439.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.5384, allocations: 71.39 kB / 439.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.5384, allocations: 4 kB / 439.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03647/0.5749, allocations: 6.825 MB / 446.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007737/0.5757, allocations: 139.8 kB / 446.5 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00677/0.5825, allocations: 3.012 MB / 449.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/0.5843, allocations: 187.8 kB / 449.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.5845, allocations: 43.97 kB / 449.8 MB, free: 13.19 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (50): * Single equations (assignments): 46 * 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.0005181/0.585, allocations: 217.6 kB / 450 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.5852, allocations: 79.53 kB / 450.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02323/0.6084, allocations: 5.056 MB / 455.1 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.251e-05/0.6084, allocations: 8 kB / 455.1 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.6084, allocations: 0 / 455.1 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.718e-05/0.6085, allocations: 3.984 kB / 455.1 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.6103, allocations: 1.08 MB / 456.2 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.6103, allocations: 4 kB / 456.2 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005723/0.6109, allocations: 91.88 kB / 456.3 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03533/0.6462, allocations: 6.774 MB / 463.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003824/0.6466, allocations: 23.97 kB / 463.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006845/0.6534, allocations: 3.037 MB / 466.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6534, allocations: 0 / 466.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02551/0.6789, allocations: 5.948 MB / 472.1 MB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002816/0.6792, allocations: 67.55 kB / 472.2 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/0.6794, allocations: 20 kB / 472.2 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/0.6809, allocations: 175.7 kB / 472.3 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002918/0.6811, allocations: 96.83 kB / 472.4 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.753e-05/0.6812, allocations: 35.92 kB / 472.5 MB, free: 6.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004777/0.6817, allocations: 338.9 kB / 472.8 MB, free: 5.988 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6817, allocations: 0 / 472.8 MB, free: 5.988 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008903/0.6826, allocations: 256 kB / 473.1 MB, free: 5.738 MB / 382.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.02603/0.7086, allocations: 6.518 MB / 479.6 MB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006284/0.7149, allocations: 1.95 MB / 481.5 MB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.7149, allocations: 1.125 kB / 481.5 MB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003626/0.7186, allocations: 1.015 MB / 482.5 MB, free: 12.19 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009557/0.7195, allocations: 130.4 kB / 482.7 MB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05871/0.7782, allocations: 15.68 MB / 498.3 MB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006499/0.7789, allocations: 0.9389 MB / 499.3 MB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003819/0.7793, allocations: 54.06 kB / 499.3 MB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003919/0.7796, allocations: 267.3 kB / 499.6 MB, free: 10.83 MB / 414.1 MB Notification: Performance of SimCode: time 1.293e-06/0.7796, allocations: 0 / 499.6 MB, free: 10.83 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09483/0.8745, allocations: 30.74 MB / 0.5179 GB, free: 11.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/15.93, allocations: 7.875 kB / 0.5179 GB, free: 11.98 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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.0397062 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 18.961885167002038]