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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001409/0.001409, allocations: 111 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001622/0.001622, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002269/0.002269, allocations: 63.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3795, allocations: 50.54 MB / 410 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.005721/0.3852, allocations: 4.957 MB / 414.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.3872, allocations: 1.287 MB / 416.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002525/0.3875, allocations: 15.94 kB / 416.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002683/0.3878, allocations: 126.7 kB / 416.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004085/0.3882, allocations: 253.6 kB / 416.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006328/0.3888, allocations: 307.5 kB / 416.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009796/0.3898, allocations: 1.111 MB / 418 MB, free: 9.469 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003562/0.3902, allocations: 262.5 kB / 418.3 MB, free: 9.195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004099/0.3906, allocations: 418.6 kB / 418.7 MB, free: 8.785 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004767/0.3911, allocations: 462 kB / 419.1 MB, free: 8.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.3912, allocations: 88 kB / 419.2 MB, free: 8.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.3914, allocations: 112 kB / 419.3 MB, free: 8.137 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.3916, allocations: 199.3 kB / 419.5 MB, free: 7.941 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003612/0.392, allocations: 445.8 kB / 419.9 MB, free: 7.504 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008478/0.3928, allocations: 1.002 MB / 420.9 MB, free: 6.504 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3928, allocations: 7.938 kB / 421 MB, free: 6.496 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3928, allocations: 0 / 421 MB, free: 6.496 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.3929, allocations: 0 / 421 MB, free: 6.496 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.002376/0.3952, allocations: 1.262 MB / 422.2 MB, free: 5.168 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.3953, allocations: 12.02 kB / 422.2 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.3955, allocations: 91.91 kB / 422.3 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007183/0.3962, allocations: 487.5 kB / 422.8 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/0.3963, allocations: 45.69 kB / 422.8 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.3964, allocations: 64.38 kB / 422.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.3977, allocations: 0.6548 MB / 423.6 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.3977, allocations: 0 / 423.6 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.784e-05/0.3978, allocations: 32 kB / 423.6 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.3978, allocations: 19.94 kB / 423.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001581/0.3994, allocations: 0.6961 MB / 424.3 MB, free: 3.031 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.003902/0.4033, allocations: 2.355 MB / 426.7 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.4048, allocations: 0.5942 MB / 427.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007319/0.4055, allocations: 341.9 kB / 427.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.792e-05/0.4056, allocations: 8.422 kB / 427.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009323/0.4065, allocations: 420.9 kB / 428 MB, free: 15.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.755e-06/0.4066, allocations: 0 / 428 MB, free: 15.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.08983/0.4964, allocations: 15.43 MB / 443.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.4966, allocations: 141.5 kB / 443.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000922/0.4975, allocations: 0.5262 MB / 444.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002877/0.4978, allocations: 45.7 kB / 444.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004085/0.4982, allocations: 383.8 kB / 444.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004875/0.4987, allocations: 323.4 kB / 444.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000472/0.4992, allocations: 178.5 kB / 445 MB, free: 13.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002416/0.4995, allocations: 390.8 kB / 445.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002161/0.5016, allocations: 0.7166 MB / 446.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002273/0.5039, allocations: 0.9629 MB / 447.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004274/0.5082, allocations: 1.708 MB / 448.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.5082, allocations: 0 / 448.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02435/0.5326, allocations: 5.378 MB / 454.2 MB, free: 4.602 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.5328, allocations: 59.41 kB / 454.2 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/0.5328, allocations: 8.125 kB / 454.2 MB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03541/0.5682, allocations: 6.844 MB / 461.1 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007797/0.569, allocations: 147.7 kB / 461.2 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007308/0.5764, allocations: 3.157 MB / 464.4 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/0.5783, allocations: 183.8 kB / 464.5 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001935/0.5785, allocations: 43.98 kB / 464.6 MB, free: 10.09 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.0006104/0.5791, allocations: 225.6 kB / 464.8 MB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002489/0.5794, allocations: 82.97 kB / 464.9 MB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02341/0.6028, allocations: 5.115 MB / 470 MB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.83e-05/0.6029, allocations: 7.984 kB / 470 MB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.6029, allocations: 0 / 470 MB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004263/0.6033, allocations: 144.2 kB / 470.2 MB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004749/0.6038, allocations: 16 kB / 470.2 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001773/0.6056, allocations: 175.7 kB / 470.3 MB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005472/0.6062, allocations: 140.8 kB / 470.5 MB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01406/0.6203, allocations: 3.219 MB / 473.7 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006284/0.6266, allocations: 2.512 MB / 476.2 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001887/0.6285, allocations: 0.6635 MB / 476.9 MB, free: 13.72 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004547/0.629, allocations: 358.8 kB / 477.2 MB, free: 13.37 MB / 398.1 MB Notification: Performance of Backend: time 6.41e-07/0.629, allocations: 3.938 kB / 477.2 MB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005791/0.6348, allocations: 1.575 MB / 478.8 MB, free: 11.76 MB / 398.1 MB Notification: Performance of SimCode: time 0.004362/0.6392, allocations: 2.438 MB / 481.2 MB, free: 9.27 MB / 398.1 MB Notification: Performance of Templates: time 0.03786/0.6771, allocations: 21.7 MB / 0.4912 GB, free: 3.648 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile (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 & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches