Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001777/0.001777, allocations: 132.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00213/0.00213, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 230.5 MB / 254 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 63.91 kB / 373 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0989/0.1007, allocations: 53.37 MB / 426.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006348/0.1071, allocations: 4.992 MB / 431.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002435/0.1095, allocations: 1.287 MB / 432.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002537/0.1097, allocations: 15.88 kB / 432.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002901/0.11, allocations: 126.7 kB / 432.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000456/0.1105, allocations: 273.6 kB / 433.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006564/0.1111, allocations: 299.5 kB / 433.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00109/0.1122, allocations: 1.099 MB / 434.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003145/0.1126, allocations: 190.5 kB / 434.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004618/0.113, allocations: 426.6 kB / 435.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005477/0.1136, allocations: 482 kB / 435.5 MB, free: 11.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.1137, allocations: 88 kB / 435.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002024/0.1139, allocations: 124 kB / 435.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.1141, allocations: 199.3 kB / 435.9 MB, free: 11 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004131/0.1145, allocations: 453.8 kB / 436.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.1155, allocations: 1.035 MB / 437.4 MB, free: 9.516 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1156, allocations: 0 / 437.4 MB, free: 9.516 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1156, allocations: 0 / 437.4 MB, free: 9.516 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.1156, allocations: 0 / 437.4 MB, free: 9.516 MB / 366.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.002503/0.1181, allocations: 1.281 MB / 438.7 MB, free: 8.168 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.1181, allocations: 8.031 kB / 438.7 MB, free: 8.16 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00013/0.1182, allocations: 110.7 kB / 438.8 MB, free: 8.043 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.1184, allocations: 100.3 kB / 438.9 MB, free: 7.945 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000684/0.1191, allocations: 491.9 kB / 439.4 MB, free: 7.426 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/0.1191, allocations: 45.69 kB / 439.4 MB, free: 7.379 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.1192, allocations: 72.31 kB / 439.5 MB, free: 7.309 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.1207, allocations: 0.6546 MB / 440.2 MB, free: 6.648 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.1207, allocations: 0 / 440.2 MB, free: 6.648 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.969e-05/0.1208, allocations: 28 kB / 440.2 MB, free: 6.621 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.1208, allocations: 16 kB / 440.2 MB, free: 6.605 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.1225, allocations: 0.696 MB / 440.9 MB, free: 5.91 MB / 366.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.003874/0.1264, allocations: 2.379 MB / 443.3 MB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/0.1279, allocations: 0.5592 MB / 443.8 MB, free: 2.805 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007869/0.1287, allocations: 310 kB / 444.1 MB, free: 2.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.784e-05/0.1287, allocations: 4.438 kB / 444.1 MB, free: 2.496 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009679/0.1297, allocations: 433.4 kB / 444.6 MB, free: 2.051 MB / 366.1 MB Notification: Performance of pre-optimization done (n=54): time 1.793e-06/0.1297, allocations: 0 / 444.6 MB, free: 2.051 MB / 366.1 MB Notification: Performance of matching and sorting (n=94): time 0.249/0.3787, allocations: 15.38 MB / 459.9 MB, free: 22.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.348e-05/0.3788, allocations: 148.5 kB / 460.1 MB, free: 22.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006136/0.3794, allocations: 0.5166 MB / 460.6 MB, free: 22.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001575/0.3796, allocations: 45.08 kB / 460.6 MB, free: 22.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.3798, allocations: 400.5 kB / 461 MB, free: 22.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/0.38, allocations: 336.9 kB / 461.4 MB, free: 21.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000339/0.3804, allocations: 189.2 kB / 461.6 MB, free: 21.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.104e-05/0.3804, allocations: 383.2 kB / 461.9 MB, free: 21.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001895/0.3823, allocations: 0.7186 MB / 462.6 MB, free: 20.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002021/0.3844, allocations: 0.9554 MB / 463.6 MB, free: 20.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003664/0.388, allocations: 1.691 MB / 465.3 MB, free: 19.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.388, allocations: 1.594 kB / 465.3 MB, free: 19.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02129/0.4093, allocations: 5.34 MB / 470.6 MB, free: 16.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.871e-05/0.4094, allocations: 68.42 kB / 470.7 MB, free: 16.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.4094, allocations: 7.297 kB / 470.7 MB, free: 16.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03051/0.4399, allocations: 6.843 MB / 477.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006354/0.4405, allocations: 147.7 kB / 477.7 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005602/0.4462, allocations: 3.158 MB / 480.9 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.4477, allocations: 183.8 kB / 481 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.076e-05/0.4478, allocations: 47.97 kB / 481.1 MB, free: 9.34 MB / 366.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.0003742/0.4481, allocations: 223.7 kB / 481.3 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.4483, allocations: 83.42 kB / 481.4 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01912/0.4674, allocations: 5.076 MB / 486.5 MB, free: 3.957 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.4674, allocations: 12 kB / 486.5 MB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.4674, allocations: 0 / 486.5 MB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.047e-05/0.4674, allocations: 7.969 kB / 486.5 MB, free: 3.938 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.4686, allocations: 1.104 MB / 487.6 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.4686, allocations: 0 / 487.6 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004707/0.4691, allocations: 103.8 kB / 487.7 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03129/0.5004, allocations: 6.792 MB / 494.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000192/0.5005, allocations: 27.97 kB / 494.5 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005945/0.5065, allocations: 3.043 MB / 497.5 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5065, allocations: 0 / 497.5 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02453/0.531, allocations: 5.945 MB / 0.4917 GB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003197/0.5313, allocations: 152.6 kB / 0.4918 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/0.5315, allocations: 16.88 kB / 0.4918 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/0.5329, allocations: 167.8 kB / 0.492 GB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002793/0.5331, allocations: 100.8 kB / 0.4921 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.336e-05/0.5332, allocations: 31.98 kB / 0.4921 GB, free: 2.348 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004977/0.5337, allocations: 354.8 kB / 0.4925 GB, free: 2.004 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5337, allocations: 0 / 0.4925 GB, free: 2.004 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000886/0.5346, allocations: 267.9 kB / 0.4927 GB, free: 1.742 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.02538/0.56, allocations: 6.525 MB / 0.4991 GB, free: 11.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006825/0.5668, allocations: 2.101 MB / 0.5011 GB, free: 9.066 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5668, allocations: 3.75 kB / 0.5012 GB, free: 9.066 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003484/0.5703, allocations: 1.022 MB / 0.5022 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007503/0.5711, allocations: 128 kB / 0.5023 GB, free: 7.934 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05478/0.6258, allocations: 15.9 MB / 0.5178 GB, free: 7.746 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005953/0.6264, allocations: 0.9507 MB / 0.5187 GB, free: 6.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003243/0.6267, allocations: 58.69 kB / 0.5188 GB, free: 6.715 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003838/0.6271, allocations: 275.3 kB / 0.519 GB, free: 6.445 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.6271, allocations: 3.938 kB / 0.519 GB, free: 6.441 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06569/0.6928, allocations: 29.71 MB / 0.5481 GB, free: 8.996 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.55, allocations: 10.75 kB / 0.5481 GB, free: 8.988 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.173718484002165]