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.001747/0.001747, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.001806/0.001806, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.45/1.45, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.002207/0.002207, allocations: 51.92 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1169, allocations: 53.34 MB / 426.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.2004/0.3173, allocations: 4.979 MB / 431.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002932/0.3203, allocations: 1.288 MB / 432.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003722/0.3206, allocations: 15.59 kB / 432.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.3209, allocations: 124.9 kB / 432.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004416/0.3213, allocations: 263 kB / 433 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006576/0.322, allocations: 312 kB / 433.3 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009706/0.323, allocations: 1.098 MB / 434.4 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003243/0.3233, allocations: 187.9 kB / 434.6 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005008/0.3238, allocations: 434.4 kB / 435 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005424/0.3243, allocations: 471 kB / 435.5 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.3245, allocations: 97.62 kB / 435.6 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002328/0.3247, allocations: 119.1 kB / 435.7 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.3249, allocations: 196.5 kB / 435.9 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003879/0.3253, allocations: 454.8 kB / 436.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.3264, allocations: 1.033 MB / 437.4 MB, free: 6.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3264, allocations: 1.156 kB / 437.4 MB, free: 6.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3264, allocations: 0 / 437.4 MB, free: 6.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.3265, allocations: 1.875 kB / 437.4 MB, free: 6.223 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.002423/0.3289, allocations: 1.283 MB / 438.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.3289, allocations: 10.83 kB / 438.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/0.329, allocations: 106.3 kB / 438.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.3292, allocations: 104.5 kB / 438.9 MB, free: 5.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006532/0.3299, allocations: 491.3 kB / 439.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/0.3299, allocations: 47.53 kB / 439.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.33, allocations: 68.3 kB / 439.5 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.3314, allocations: 0.655 MB / 440.1 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.3314, allocations: 0.9844 kB / 440.1 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.399e-05/0.3315, allocations: 26.73 kB / 440.1 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.3315, allocations: 19.16 kB / 440.2 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.3332, allocations: 0.6947 MB / 440.8 MB, free: 4.332 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.003683/0.3369, allocations: 2.381 MB / 443.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.3383, allocations: 0.5637 MB / 443.8 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007422/0.3391, allocations: 307.1 kB / 444.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.548e-05/0.3391, allocations: 11.94 kB / 444.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009281/0.34, allocations: 426.4 kB / 444.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.214e-06/0.3401, allocations: 0 / 444.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06818/0.4082, allocations: 15.39 MB / 459.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.4084, allocations: 144.7 kB / 460 MB, free: 12.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007373/0.4091, allocations: 0.5208 MB / 460.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002376/0.4093, allocations: 43.17 kB / 460.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003601/0.4097, allocations: 394.4 kB / 461 MB, free: 11.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003655/0.4101, allocations: 334 kB / 461.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004248/0.4105, allocations: 182.1 kB / 461.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002439/0.4107, allocations: 391.2 kB / 461.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002137/0.4129, allocations: 0.7193 MB / 462.6 MB, free: 10.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002273/0.4151, allocations: 0.958 MB / 463.6 MB, free: 9.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004266/0.4194, allocations: 1.699 MB / 465.3 MB, free: 8.578 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.4194, allocations: 0 / 465.3 MB, free: 8.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02343/0.4428, allocations: 5.341 MB / 470.6 MB, free: 3.215 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.653e-05/0.4429, allocations: 67.39 kB / 470.7 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.302e-05/0.4429, allocations: 8.125 kB / 470.7 MB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03408/0.477, allocations: 6.841 MB / 477.5 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007607/0.4778, allocations: 151.7 kB / 477.7 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007075/0.4849, allocations: 3.157 MB / 480.8 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/0.4866, allocations: 183.8 kB / 481 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.4867, allocations: 51.91 kB / 481 MB, free: 8.691 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.0004649/0.4872, allocations: 223.8 kB / 481.3 MB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.4874, allocations: 83.48 kB / 481.3 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0221/0.5095, allocations: 5.064 MB / 486.4 MB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/0.5095, allocations: 16 kB / 486.4 MB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.5095, allocations: 0 / 486.4 MB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.229e-05/0.5095, allocations: 7.969 kB / 486.4 MB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.5114, allocations: 1.115 MB / 487.6 MB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.5114, allocations: 0 / 487.6 MB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005448/0.5119, allocations: 91.83 kB / 487.6 MB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03343/0.5454, allocations: 6.797 MB / 494.4 MB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002332/0.5456, allocations: 31.97 kB / 494.5 MB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00598/0.5516, allocations: 3.038 MB / 497.5 MB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.5516, allocations: 0 / 497.5 MB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0243/0.5759, allocations: 5.947 MB / 0.4917 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003442/0.5762, allocations: 153.1 kB / 0.4918 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.5764, allocations: 27.92 kB / 0.4918 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/0.5778, allocations: 165.4 kB / 0.492 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002778/0.578, allocations: 100.8 kB / 0.4921 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-05/0.5781, allocations: 31.98 kB / 0.4921 GB, free: 1.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004511/0.5786, allocations: 354.8 kB / 0.4924 GB, free: 1.316 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5786, allocations: 4 kB / 0.4925 GB, free: 1.312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008444/0.5794, allocations: 260 kB / 0.4927 GB, free: 1.059 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.02506/0.6045, allocations: 6.53 MB / 0.4991 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007089/0.6116, allocations: 2.098 MB / 0.5011 GB, free: 8.379 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.6116, allocations: 0 / 0.5011 GB, free: 8.379 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00353/0.6151, allocations: 1.019 MB / 0.5021 GB, free: 7.363 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008124/0.6159, allocations: 123.5 kB / 0.5022 GB, free: 7.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05582/0.6717, allocations: 15.9 MB / 0.5178 GB, free: 7.047 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006894/0.6724, allocations: 0.9468 MB / 0.5187 GB, free: 6.074 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003953/0.6728, allocations: 64.36 kB / 0.5187 GB, free: 6.016 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004031/0.6732, allocations: 279.3 kB / 0.519 GB, free: 5.742 MB / 430.1 MB Notification: Performance of SimCode: time 2.004e-06/0.6732, allocations: 0 / 0.519 GB, free: 5.742 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06873/0.742, allocations: 29.7 MB / 0.548 GB, free: 8.309 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.79, allocations: 4 kB / 0.548 GB, free: 8.305 MB / 462.1 MB " [Timeout remaining time 646] (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: 16.455464190992643]