Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 110.3 kB / 17.74 MB, free: 5.355 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.001445/0.001445, allocations: 189.3 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 47.92 kB / 352 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.377, allocations: 49.43 MB / 401.4 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006207/0.3833, allocations: 4.958 MB / 406.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003397/0.3867, allocations: 1.264 MB / 407.7 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008473/0.3876, allocations: 12 kB / 407.7 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005799/0.3882, allocations: 130.7 kB / 407.8 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009842/0.3892, allocations: 261.7 kB / 408 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008846/0.3901, allocations: 311.5 kB / 408.4 MB, free: 2.055 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001285/0.3914, allocations: 1.107 MB / 409.5 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004161/0.3919, allocations: 258.5 kB / 409.7 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006293/0.3925, allocations: 422.5 kB / 410.1 MB, free: 260 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005798/0.3931, allocations: 466 kB / 410.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.3932, allocations: 88 kB / 410.7 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002635/0.3935, allocations: 112 kB / 410.8 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.3937, allocations: 191.3 kB / 411 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004322/0.3942, allocations: 449.8 kB / 411.4 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.3953, allocations: 1.019 MB / 412.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3953, allocations: 0 / 412.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3953, allocations: 0 / 412.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.835e-05/0.3954, allocations: 0 / 412.4 MB, free: 13.95 MB / 334.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.002469/0.3978, allocations: 1.281 MB / 413.7 MB, free: 12.6 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.3979, allocations: 12.03 kB / 413.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.3981, allocations: 92.38 kB / 413.8 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006948/0.3988, allocations: 495.9 kB / 414.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.502e-05/0.3988, allocations: 53.67 kB / 414.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.3989, allocations: 60.38 kB / 414.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.4003, allocations: 0.6548 MB / 415.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.4003, allocations: 0 / 415.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.796e-05/0.4004, allocations: 28 kB / 415.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.4004, allocations: 16 kB / 415.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.4021, allocations: 0.6961 MB / 415.8 MB, free: 10.46 MB / 334.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.003889/0.406, allocations: 2.387 MB / 418.2 MB, free: 7.922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.4074, allocations: 0.5827 MB / 418.8 MB, free: 7.328 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006969/0.4081, allocations: 330 kB / 419.1 MB, free: 7.004 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.027e-05/0.4082, allocations: 12.44 kB / 419.1 MB, free: 6.992 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009037/0.4091, allocations: 423.3 kB / 419.5 MB, free: 6.555 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 3.216e-06/0.4091, allocations: 0 / 419.5 MB, free: 6.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=94): time 0.07007/0.4792, allocations: 15.44 MB / 434.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.108e-05/0.4793, allocations: 137.5 kB / 435.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00081/0.4802, allocations: 0.5264 MB / 435.6 MB, free: 6.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002576/0.4804, allocations: 45.7 kB / 435.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003278/0.4808, allocations: 396.7 kB / 436 MB, free: 5.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004575/0.4812, allocations: 333.1 kB / 436.4 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005111/0.4818, allocations: 178.6 kB / 436.5 MB, free: 5.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.482, allocations: 386.8 kB / 436.9 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002112/0.4841, allocations: 0.7244 MB / 437.6 MB, free: 4.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002272/0.4864, allocations: 0.9512 MB / 438.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004153/0.4905, allocations: 1.704 MB / 440.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.4906, allocations: 4 kB / 440.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02415/0.5148, allocations: 5.378 MB / 445.7 MB, free: 12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.807e-05/0.5149, allocations: 63.53 kB / 445.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.5149, allocations: 4 kB / 445.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03425/0.5492, allocations: 6.852 MB / 452.6 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007497/0.55, allocations: 147.7 kB / 452.7 MB, free: 4.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007193/0.5572, allocations: 3.165 MB / 455.9 MB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/0.5591, allocations: 175.9 kB / 456.1 MB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002053/0.5593, allocations: 47.97 kB / 456.1 MB, free: 1.473 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.0006835/0.56, allocations: 226.1 kB / 456.3 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002666/0.5603, allocations: 83.48 kB / 456.4 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02243/0.5828, allocations: 5.107 MB / 461.5 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.824e-05/0.5829, allocations: 3.984 kB / 461.5 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/0.5829, allocations: 0 / 461.5 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003665/0.5833, allocations: 152.5 kB / 461.7 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000446/0.5837, allocations: 16 kB / 461.7 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001724/0.5855, allocations: 171.7 kB / 461.9 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006426/0.5861, allocations: 144.8 kB / 462 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01523/0.6014, allocations: 3.223 MB / 465.2 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006748/0.6082, allocations: 2.524 MB / 467.8 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002009/0.6102, allocations: 0.6557 MB / 468.4 MB, free: 5.102 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005257/0.6108, allocations: 358.8 kB / 468.8 MB, free: 4.75 MB / 382.1 MB Notification: Performance of Backend: time 8.92e-07/0.6108, allocations: 0 / 468.8 MB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006279/0.6171, allocations: 1.601 MB / 470.4 MB, free: 3.117 MB / 382.1 MB Notification: Performance of SimCode: time 0.003714/0.6208, allocations: 2.473 MB / 472.8 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of Templates: time 0.04007/0.6609, allocations: 21.65 MB / 494.5 MB, free: 11.02 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches