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.001927/0.001927, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002302/0.002302, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.781/1.781, allocations: 230.6 MB / 254.1 MB, free: 15.13 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: translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002674/0.002674, allocations: 55.92 kB / 373.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1428, allocations: 53.33 MB / 426.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.248/0.3907, allocations: 4.98 MB / 431.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002532/0.3933, allocations: 1.294 MB / 433.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003523/0.3936, allocations: 13.59 kB / 433.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002636/0.3939, allocations: 126.3 kB / 433.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000448/0.3943, allocations: 267.9 kB / 433.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007518/0.3951, allocations: 305.7 kB / 433.8 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00106/0.3961, allocations: 1.099 MB / 434.9 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002985/0.3964, allocations: 188.7 kB / 435.1 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005148/0.397, allocations: 434.8 kB / 435.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006677/0.3976, allocations: 476.7 kB / 436 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001725/0.3978, allocations: 89.25 kB / 436.1 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002737/0.3981, allocations: 111.2 kB / 436.2 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.3983, allocations: 202.7 kB / 436.4 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005011/0.3988, allocations: 456.1 kB / 436.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.4001, allocations: 1.033 MB / 437.8 MB, free: 6.629 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4001, allocations: 0 / 437.8 MB, free: 6.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4001, allocations: 0 / 437.8 MB, free: 6.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.069e-05/0.4002, allocations: 1.719 kB / 437.8 MB, free: 6.629 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.002637/0.4028, allocations: 1.288 MB / 439.1 MB, free: 5.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.4028, allocations: 10.56 kB / 439.1 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.403, allocations: 98.8 kB / 439.2 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006302/0.4037, allocations: 493.9 kB / 439.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.959e-05/0.4037, allocations: 44.47 kB / 439.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.4038, allocations: 71.22 kB / 439.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.4053, allocations: 0.6546 MB / 440.5 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.4053, allocations: 3.938 kB / 440.5 MB, free: 5.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.666e-05/0.4054, allocations: 27.48 kB / 440.5 MB, free: 5.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.4054, allocations: 15.16 kB / 440.5 MB, free: 5.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.4074, allocations: 0.6952 MB / 441.2 MB, free: 4.809 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.004769/0.4121, allocations: 2.377 MB / 443.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.4136, allocations: 0.562 MB / 444.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000764/0.4144, allocations: 304.6 kB / 444.5 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.179e-05/0.4144, allocations: 12.72 kB / 444.5 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009437/0.4154, allocations: 423.9 kB / 444.9 MB, free: 2.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.014e-06/0.4154, allocations: 0.8438 kB / 444.9 MB, free: 2.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07303/0.4884, allocations: 15.39 MB / 460.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.4885, allocations: 144.1 kB / 460.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007739/0.4893, allocations: 0.5292 MB / 461 MB, free: 12.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000221/0.4895, allocations: 43.27 kB / 461 MB, free: 12.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003381/0.4899, allocations: 389.9 kB / 461.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003634/0.4902, allocations: 327.6 kB / 461.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004614/0.4907, allocations: 184.6 kB / 461.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002228/0.4909, allocations: 396.8 kB / 462.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002232/0.4931, allocations: 0.7235 MB / 463 MB, free: 11.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002463/0.4956, allocations: 0.9552 MB / 463.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004708/0.5003, allocations: 1.697 MB / 465.6 MB, free: 8.871 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.5003, allocations: 0 / 465.6 MB, free: 8.871 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0261/0.5264, allocations: 5.34 MB / 471 MB, free: 3.508 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.5265, allocations: 64.03 kB / 471 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.5265, allocations: 4 kB / 471 MB, free: 3.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03715/0.5637, allocations: 6.842 MB / 477.9 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007915/0.5645, allocations: 147.7 kB / 478 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007958/0.5724, allocations: 3.167 MB / 481.2 MB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/0.5744, allocations: 183.8 kB / 481.4 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/0.5745, allocations: 45.98 kB / 481.4 MB, free: 8.992 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.0005571/0.5751, allocations: 239.8 kB / 481.7 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.5753, allocations: 83.48 kB / 481.7 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0247/0.6, allocations: 5.062 MB / 486.8 MB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/0.6, allocations: 12 kB / 486.8 MB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.6, allocations: 0.875 kB / 486.8 MB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.422e-05/0.6001, allocations: 3.984 kB / 486.8 MB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.6019, allocations: 1.109 MB / 487.9 MB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.6019, allocations: 0 / 487.9 MB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005918/0.6025, allocations: 95.81 kB / 488 MB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03727/0.6398, allocations: 6.791 MB / 494.8 MB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003124/0.6401, allocations: 36.78 kB / 494.8 MB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007059/0.6471, allocations: 3.037 MB / 497.9 MB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.6471, allocations: 4 kB / 497.9 MB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02765/0.6748, allocations: 5.941 MB / 0.492 GB, free: 2.441 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003119/0.6751, allocations: 156.5 kB / 0.4922 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/0.6753, allocations: 24.75 kB / 0.4922 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/0.6768, allocations: 167.8 kB / 0.4924 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002834/0.677, allocations: 92.88 kB / 0.4924 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.6771, allocations: 35.97 kB / 0.4925 GB, free: 1.957 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004688/0.6776, allocations: 354.8 kB / 0.4928 GB, free: 1.613 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6776, allocations: 0 / 0.4928 GB, free: 1.613 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008884/0.6785, allocations: 259.9 kB / 0.4931 GB, free: 1.359 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.0002702/0.6788, allocations: 136 kB / 0.4932 GB, free: 1.223 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007662/0.6864, allocations: 2.099 MB / 0.4952 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.6864, allocations: 0 / 0.4952 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003907/0.6903, allocations: 1.023 MB / 0.4962 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008023/0.6912, allocations: 133.2 kB / 0.4964 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004264/0.6954, allocations: 1.792 MB / 0.4981 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006585/0.6961, allocations: 0.9545 MB / 0.4991 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002578/0.6963, allocations: 56.16 kB / 0.4991 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.6965, allocations: 35.44 kB / 0.4991 GB, free: 11.08 MB / 414.1 MB Notification: Performance of SimCode: time 6.02e-07/0.6965, allocations: 0 / 0.4991 GB, free: 11.08 MB / 414.1 MB Notification: Performance of Templates: time 0.04101/0.7375, allocations: 22.77 MB / 0.5214 GB, free: 4.449 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins/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: 6.5649787075817585]