Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_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.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00115/0.00115, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001223/0.001223, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 59.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3966, allocations: 50.54 MB / 410 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.007593/0.4043, allocations: 4.957 MB / 414.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004059/0.4084, allocations: 1.287 MB / 416.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.4095, allocations: 19.88 kB / 416.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005564/0.4101, allocations: 118.7 kB / 416.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.4112, allocations: 257.6 kB / 416.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.4123, allocations: 311.5 kB / 416.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001735/0.414, allocations: 1.091 MB / 418 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000514/0.4146, allocations: 270.5 kB / 418.2 MB, free: 9.219 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007761/0.4153, allocations: 418.5 kB / 418.6 MB, free: 8.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006905/0.416, allocations: 470 kB / 419.1 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.4162, allocations: 88 kB / 419.2 MB, free: 8.262 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002403/0.4164, allocations: 112 kB / 419.3 MB, free: 8.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001628/0.4166, allocations: 195.3 kB / 419.5 MB, free: 7.961 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004293/0.417, allocations: 441.8 kB / 419.9 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.4181, allocations: 1.009 MB / 420.9 MB, free: 6.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.4181, allocations: 4 kB / 420.9 MB, free: 6.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.4181, allocations: 0 / 420.9 MB, free: 6.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.763e-05/0.4181, allocations: 7.938 kB / 420.9 MB, free: 6.508 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.002533/0.4207, allocations: 1.254 MB / 422.2 MB, free: 5.188 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.4207, allocations: 8.031 kB / 422.2 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.4209, allocations: 95.89 kB / 422.3 MB, free: 5.086 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000764/0.4217, allocations: 487.5 kB / 422.8 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.161e-05/0.4217, allocations: 49.69 kB / 422.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.4218, allocations: 64.38 kB / 422.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.4232, allocations: 0.6548 MB / 423.5 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.4232, allocations: 0 / 423.5 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.869e-05/0.4233, allocations: 28 kB / 423.6 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.4233, allocations: 12 kB / 423.6 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/0.425, allocations: 0.7 MB / 424.3 MB, free: 3.055 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.003789/0.4288, allocations: 2.366 MB / 426.7 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.4302, allocations: 0.5973 MB / 427.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006771/0.4309, allocations: 333.9 kB / 427.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.136e-05/0.4309, allocations: 4.438 kB / 427.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008259/0.4317, allocations: 429.4 kB / 428 MB, free: 15.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 3.646e-06/0.4318, allocations: 4 kB / 428 MB, free: 15.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06919/0.501, allocations: 15.41 MB / 443.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.5011, allocations: 145.5 kB / 443.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008208/0.502, allocations: 0.5223 MB / 444.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002457/0.5022, allocations: 49.7 kB / 444.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/0.5026, allocations: 387.8 kB / 444.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004335/0.503, allocations: 315.4 kB / 444.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004371/0.5035, allocations: 186.5 kB / 445 MB, free: 13.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.5037, allocations: 382.8 kB / 445.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002078/0.5058, allocations: 0.7244 MB / 446.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002105/0.5079, allocations: 0.959 MB / 447.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003971/0.5119, allocations: 1.708 MB / 448.8 MB, free: 10.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.5119, allocations: 0 / 448.8 MB, free: 10.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02327/0.5352, allocations: 5.362 MB / 454.1 MB, free: 4.637 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.457e-05/0.5353, allocations: 71.39 kB / 454.2 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.5353, allocations: 8 kB / 454.2 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03457/0.5699, allocations: 6.825 MB / 461 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007957/0.5707, allocations: 147.8 kB / 461.2 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006439/0.5772, allocations: 3.016 MB / 464.2 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/0.579, allocations: 179.8 kB / 464.4 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/0.5792, allocations: 47.97 kB / 464.4 MB, free: 10.27 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.0005488/0.5798, allocations: 225.6 kB / 464.6 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.58, allocations: 82.97 kB / 464.7 MB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02366/0.6037, allocations: 5.099 MB / 469.8 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.846e-05/0.6038, allocations: 7.969 kB / 469.8 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.6038, allocations: 4 kB / 469.8 MB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003941/0.6042, allocations: 140.2 kB / 470 MB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004445/0.6048, allocations: 35.97 kB / 470 MB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002294/0.6071, allocations: 171.7 kB / 470.2 MB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006789/0.6078, allocations: 140.8 kB / 470.3 MB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02072/0.6285, allocations: 3.207 MB / 473.5 MB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009753/0.6383, allocations: 2.519 MB / 476 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002944/0.6413, allocations: 0.6635 MB / 476.7 MB, free: 13.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007517/0.6421, allocations: 354.8 kB / 477 MB, free: 13.56 MB / 398.1 MB Notification: Performance of Backend: time 1.693e-06/0.6421, allocations: 0 / 477 MB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006887/0.649, allocations: 1.437 MB / 478.5 MB, free: 12.09 MB / 398.1 MB Notification: Performance of SimCode: time 0.004915/0.6539, allocations: 2.435 MB / 480.9 MB, free: 9.609 MB / 398.1 MB Notification: Performance of Templates: time 0.04782/0.7018, allocations: 21.94 MB / 0.4911 GB, free: 3.758 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches