Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_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.001773/0.001773, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001871/0.001871, allocations: 214.7 kB / 23.74 MB, free: 4.656 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.448/1.448, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.HeatingNPN_NORGate,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 55.91 kB / 377.8 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2613, allocations: 53.35 MB / 431.2 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006324/0.2676, allocations: 5.009 MB / 436.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002733/0.2703, allocations: 1.299 MB / 437.5 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004617/0.2708, allocations: 15.94 kB / 437.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003435/0.2711, allocations: 122.7 kB / 437.6 MB, free: 380 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000503/0.2716, allocations: 265.7 kB / 437.9 MB, free: 112 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007869/0.2724, allocations: 307.5 kB / 438.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001122/0.2735, allocations: 1.099 MB / 439.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003729/0.2739, allocations: 187 kB / 439.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005132/0.2744, allocations: 430.5 kB / 439.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006438/0.2751, allocations: 478 kB / 440.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.2752, allocations: 96 kB / 440.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.2754, allocations: 112 kB / 440.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.2756, allocations: 207.2 kB / 440.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004462/0.276, allocations: 457.8 kB / 441.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.2772, allocations: 1.035 MB / 442.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2772, allocations: 0 / 442.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2772, allocations: 0 / 442.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.103e-05/0.2772, allocations: 3.984 kB / 442.2 MB, free: 11.73 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.002552/0.2798, allocations: 1.202 MB / 443.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.2798, allocations: 12.03 kB / 443.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000121/0.28, allocations: 106.7 kB / 443.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.2801, allocations: 104.3 kB / 443.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007215/0.2808, allocations: 422.1 kB / 444 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.878e-05/0.2809, allocations: 45.69 kB / 444.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.281, allocations: 72.31 kB / 444.2 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.2823, allocations: 0.6585 MB / 444.8 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.2824, allocations: 0 / 444.8 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.336e-05/0.2824, allocations: 28 kB / 444.9 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.2824, allocations: 16 kB / 444.9 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/0.2841, allocations: 0.6961 MB / 445.6 MB, free: 8.293 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.003968/0.2881, allocations: 2.312 MB / 447.9 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.2895, allocations: 0.5521 MB / 448.4 MB, free: 5.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000706/0.2902, allocations: 313.9 kB / 448.7 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.088e-05/0.2902, allocations: 8.375 kB / 448.7 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009518/0.2912, allocations: 440.6 kB / 449.2 MB, free: 4.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 5.33e-06/0.2912, allocations: 3.984 kB / 449.2 MB, free: 4.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06923/0.3604, allocations: 15.24 MB / 464.4 MB, free: 5.199 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001557/0.3606, allocations: 141.5 kB / 464.6 MB, free: 5.027 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008365/0.3614, allocations: 0.5225 MB / 465.1 MB, free: 4.496 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002075/0.3616, allocations: 45.7 kB / 465.1 MB, free: 4.445 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003578/0.362, allocations: 396.7 kB / 465.5 MB, free: 4.051 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003492/0.3623, allocations: 325.2 kB / 465.8 MB, free: 3.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003659/0.3627, allocations: 186.6 kB / 466 MB, free: 3.543 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002278/0.3629, allocations: 390.7 kB / 466.4 MB, free: 3.152 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002006/0.3649, allocations: 0.7244 MB / 467.1 MB, free: 2.426 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002195/0.3671, allocations: 0.959 MB / 468.1 MB, free: 1.379 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004206/0.3713, allocations: 1.693 MB / 469.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.3713, allocations: 4 kB / 469.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02366/0.395, allocations: 5.339 MB / 475.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.008e-05/0.395, allocations: 59.41 kB / 475.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.3951, allocations: 8 kB / 475.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03436/0.4294, allocations: 6.849 MB / 482 MB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007268/0.4301, allocations: 155.7 kB / 482.2 MB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007119/0.4373, allocations: 3.153 MB / 485.3 MB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/0.4388, allocations: 187.8 kB / 485.5 MB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.4389, allocations: 51.91 kB / 485.6 MB, free: 15.68 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.0004661/0.4394, allocations: 229.7 kB / 485.8 MB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.4396, allocations: 83.48 kB / 485.9 MB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0219/0.4615, allocations: 5.076 MB / 490.9 MB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/0.4615, allocations: 8 kB / 490.9 MB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4615, allocations: 0 / 490.9 MB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.085e-05/0.4615, allocations: 3.984 kB / 491 MB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.4631, allocations: 1.076 MB / 492 MB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.4631, allocations: 0 / 492 MB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005167/0.4636, allocations: 91.88 kB / 492.1 MB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03348/0.4971, allocations: 6.793 MB / 498.9 MB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002502/0.4973, allocations: 19.98 kB / 498.9 MB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006243/0.5035, allocations: 3.049 MB / 0.4902 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.5036, allocations: 0 / 0.4902 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02461/0.5282, allocations: 5.948 MB / 0.496 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.5284, allocations: 83.33 kB / 0.4961 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.5286, allocations: 20 kB / 0.4961 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/0.5299, allocations: 175.8 kB / 0.4963 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002494/0.5302, allocations: 96.83 kB / 0.4964 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.013e-05/0.5302, allocations: 35.97 kB / 0.4964 GB, free: 8.734 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004341/0.5307, allocations: 354.8 kB / 0.4968 GB, free: 8.391 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5307, allocations: 0 / 0.4968 GB, free: 8.391 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007339/0.5314, allocations: 259.9 kB / 0.497 GB, free: 8.137 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.02502/0.5564, allocations: 6.528 MB / 0.5034 GB, free: 1.562 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006682/0.5631, allocations: 2.102 MB / 0.5054 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.5631, allocations: 0 / 0.5054 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00333/0.5664, allocations: 1.02 MB / 0.5064 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000817/0.5673, allocations: 133.3 kB / 0.5066 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05546/0.6227, allocations: 15.88 MB / 0.5221 GB, free: 14.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005596/0.6233, allocations: 0.9506 MB / 0.523 GB, free: 13.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003035/0.6236, allocations: 58.27 kB / 0.523 GB, free: 13.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003763/0.624, allocations: 275.3 kB / 0.5233 GB, free: 12.77 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.624, allocations: 0 / 0.5233 GB, free: 12.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2526/0.8766, allocations: 30.95 MB / 0.5535 GB, free: 100.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.13/15, allocations: 2.812 kB / 0.5535 GB, free: 100.1 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.63752317699982]