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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007794/0.0007794, allocations: 95.64 kB / 17.3 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007376/0.0007376, allocations: 180.5 kB / 18.21 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.244/1.244, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004612/0.0004612, allocations: 8 kB / 281.5 MB, free: 3.332 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0888/0.08927, allocations: 47.58 MB / 329.1 MB, free: 3.676 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.004327/0.09366, allocations: 4.302 MB / 333.4 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002332/0.09603, allocations: 1.265 MB / 334.6 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000254/0.0963, allocations: 11.94 kB / 334.6 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.09654, allocations: 83.36 kB / 334.7 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004275/0.09697, allocations: 214.2 kB / 334.9 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005932/0.09757, allocations: 259.7 kB / 335.2 MB, free: 13.51 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000848/0.09843, allocations: 0.9859 MB / 336.2 MB, free: 12.52 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003371/0.09878, allocations: 215.3 kB / 336.4 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000338/0.09912, allocations: 358.5 kB / 336.7 MB, free: 11.95 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004056/0.09954, allocations: 406.1 kB / 337.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.813e-05/0.09962, allocations: 40 kB / 337.2 MB, free: 11.51 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.09983, allocations: 75.97 kB / 337.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.09995, allocations: 151.3 kB / 337.4 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003147/0.1003, allocations: 403.6 kB / 337.8 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000676/0.101, allocations: 0.9108 MB / 338.7 MB, free: 9.969 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.101, allocations: 0 / 338.7 MB, free: 9.969 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.101, allocations: 0 / 338.7 MB, free: 9.969 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.101, allocations: 0 / 338.7 MB, free: 9.969 MB / 286.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.00204/0.103, allocations: 1.118 MB / 339.8 MB, free: 8.785 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1031, allocations: 8.031 kB / 339.8 MB, free: 8.777 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/0.1032, allocations: 98.7 kB / 339.9 MB, free: 8.672 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.1034, allocations: 87.91 kB / 340 MB, free: 8.586 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005123/0.1039, allocations: 465.5 kB / 340.4 MB, free: 8.09 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/0.1039, allocations: 45.69 kB / 340.5 MB, free: 8.047 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.104, allocations: 72.27 kB / 340.6 MB, free: 7.977 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.1054, allocations: 0.6664 MB / 341.2 MB, free: 7.301 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.1054, allocations: 0 / 341.2 MB, free: 7.301 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.239e-05/0.1055, allocations: 24 kB / 341.3 MB, free: 7.277 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.1055, allocations: 16 kB / 341.3 MB, free: 7.262 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.1073, allocations: 0.739 MB / 342 MB, free: 6.523 MB / 286.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.003605/0.1109, allocations: 2.371 MB / 344.4 MB, free: 4 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.1124, allocations: 0.6413 MB / 345 MB, free: 3.348 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007658/0.1131, allocations: 358 kB / 345.4 MB, free: 2.996 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.542e-05/0.1132, allocations: 16.42 kB / 345.4 MB, free: 2.98 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009433/0.1141, allocations: 457.4 kB / 345.8 MB, free: 2.508 MB / 286.1 MB Notification: Performance of pre-optimization done (n=54): time 1.743e-06/0.1141, allocations: 0 / 345.8 MB, free: 2.508 MB / 286.1 MB Notification: Performance of matching and sorting (n=94): time 0.07091/0.1851, allocations: 16.74 MB / 362.6 MB, free: 1.672 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.1852, allocations: 141.5 kB / 362.7 MB, free: 1.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006128/0.1858, allocations: 498.8 kB / 363.2 MB, free: 1.008 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001675/0.186, allocations: 49.64 kB / 363.2 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/0.1863, allocations: 363.9 kB / 363.6 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/0.1866, allocations: 311.5 kB / 363.9 MB, free: 288 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.1867, allocations: 81.67 kB / 364 MB, free: 200 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.1869, allocations: 382.8 kB / 364.4 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002162/0.1891, allocations: 0.8022 MB / 365.2 MB, free: 15.01 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002225/0.1913, allocations: 1.001 MB / 366.2 MB, free: 13.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004173/0.1955, allocations: 1.814 MB / 368 MB, free: 12.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.1955, allocations: 4 kB / 368 MB, free: 12.03 MB / 318.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02366/0.2192, allocations: 5.718 MB / 373.7 MB, free: 6.285 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.751e-05/0.2193, allocations: 67.41 kB / 373.8 MB, free: 6.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.2193, allocations: 4 kB / 373.8 MB, free: 6.203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1768/0.3962, allocations: 7.314 MB / 381.1 MB, free: 51.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009185/0.3971, allocations: 177 kB / 381.3 MB, free: 51.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006998/0.4041, allocations: 3.21 MB / 384.5 MB, free: 50.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/0.4059, allocations: 224.5 kB / 384.7 MB, free: 50.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.406, allocations: 43.19 kB / 384.7 MB, free: 50.83 MB / 318.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.0004117/0.4064, allocations: 223.5 kB / 384.9 MB, free: 50.71 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.4066, allocations: 76.3 kB / 385 MB, free: 50.71 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02261/0.4292, allocations: 5.472 MB / 390.5 MB, free: 50.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-05/0.4293, allocations: 13.88 kB / 390.5 MB, free: 50.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.4293, allocations: 0.875 kB / 390.5 MB, free: 50.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.986e-05/0.4293, allocations: 8.891 kB / 390.5 MB, free: 50.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/0.4306, allocations: 1.087 MB / 391.6 MB, free: 49.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.4306, allocations: 0 / 391.6 MB, free: 49.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005338/0.4312, allocations: 121.8 kB / 391.7 MB, free: 49.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03268/0.4639, allocations: 7.293 MB / 399 MB, free: 47.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002049/0.4641, allocations: 25.73 kB / 399 MB, free: 47.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004913/0.469, allocations: 3.09 MB / 402.1 MB, free: 44.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.4691, allocations: 7.984 kB / 402.1 MB, free: 44.08 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0232/0.4923, allocations: 6.425 MB / 408.6 MB, free: 37.65 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.4925, allocations: 140.2 kB / 408.7 MB, free: 37.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.4927, allocations: 23.98 kB / 408.7 MB, free: 37.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/0.494, allocations: 211.4 kB / 408.9 MB, free: 37.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002595/0.4943, allocations: 92.86 kB / 409 MB, free: 37.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.892e-05/0.4944, allocations: 35.97 kB / 409.1 MB, free: 37.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003193/0.4947, allocations: 338.9 kB / 409.4 MB, free: 36.82 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4947, allocations: 3.938 kB / 409.4 MB, free: 36.81 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000691/0.4954, allocations: 255.9 kB / 409.6 MB, free: 36.56 MB / 318.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.02368/0.5191, allocations: 7.016 MB / 416.7 MB, free: 29.53 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.006391/0.5255, allocations: 2.326 MB / 419 MB, free: 27.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.301e-06/0.5256, allocations: 4 kB / 419 MB, free: 27.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003212/0.5288, allocations: 1.149 MB / 420.1 MB, free: 26.03 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008174/0.5296, allocations: 122.2 kB / 420.2 MB, free: 25.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05139/0.581, allocations: 17.19 MB / 437.4 MB, free: 8.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.5814, allocations: 0.935 MB / 438.4 MB, free: 7.551 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003496/0.5817, allocations: 56.28 kB / 438.4 MB, free: 7.496 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002892/0.582, allocations: 255.4 kB / 438.7 MB, free: 7.246 MB / 318.1 MB Notification: Performance of SimCode: time 1.853e-06/0.582, allocations: 3.938 kB / 438.7 MB, free: 7.242 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04669/0.6287, allocations: 26.62 MB / 465.3 MB, free: 12.58 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002545/0.629, allocations: 234.4 kB / 465.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.829/3.458, allocations: 0 / 465.5 MB, free: 12.32 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/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","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches