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.001116/0.001116, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001238/0.001238, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 246.9 MB, free: 10.7 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 64.11 kB / 306.9 MB, free: 1.008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09498/0.09615, allocations: 50.53 MB / 357.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.00546/0.1016, allocations: 4.97 MB / 362.4 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.1038, allocations: 1.291 MB / 363.7 MB, free: 8.168 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002423/0.104, allocations: 15.94 kB / 363.7 MB, free: 8.152 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.1043, allocations: 87.23 kB / 363.8 MB, free: 8.066 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003745/0.1047, allocations: 214.2 kB / 364 MB, free: 7.855 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005348/0.1053, allocations: 275.6 kB / 364.3 MB, free: 7.586 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008298/0.1061, allocations: 1.036 MB / 365.3 MB, free: 6.543 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003132/0.1064, allocations: 223.4 kB / 365.5 MB, free: 6.312 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000352/0.1068, allocations: 378.5 kB / 365.9 MB, free: 5.941 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004174/0.1072, allocations: 442 kB / 366.3 MB, free: 5.508 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.968e-05/0.1073, allocations: 52 kB / 366.4 MB, free: 5.457 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.1075, allocations: 75.98 kB / 366.5 MB, free: 5.383 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.1076, allocations: 159.3 kB / 366.6 MB, free: 5.227 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003542/0.108, allocations: 417.8 kB / 367 MB, free: 4.816 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000597/0.1086, allocations: 0.7405 MB / 367.8 MB, free: 4.074 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1086, allocations: 8 kB / 367.8 MB, free: 4.066 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1086, allocations: 0 / 367.8 MB, free: 4.066 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.1086, allocations: 0 / 367.8 MB, free: 4.066 MB / 302.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.002313/0.1109, allocations: 1.258 MB / 369 MB, free: 2.742 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.111, allocations: 8.031 kB / 369 MB, free: 2.734 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.1111, allocations: 103.8 kB / 369.1 MB, free: 2.633 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005359/0.1117, allocations: 475.5 kB / 369.6 MB, free: 2.129 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.1117, allocations: 49.67 kB / 369.6 MB, free: 2.082 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.1119, allocations: 72.25 kB / 369.7 MB, free: 2.012 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.1132, allocations: 0.6548 MB / 370.4 MB, free: 1.348 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.1132, allocations: 0 / 370.4 MB, free: 1.348 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7e-05/0.1133, allocations: 28 kB / 370.4 MB, free: 1.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.1133, allocations: 16 kB / 370.4 MB, free: 1.305 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.1149, allocations: 0.6922 MB / 371.1 MB, free: 0.6133 MB / 302.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.166/0.2809, allocations: 2.368 MB / 373.5 MB, free: 19.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.2826, allocations: 0.5907 MB / 374.1 MB, free: 19.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008041/0.2834, allocations: 332.1 kB / 374.4 MB, free: 19.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.666e-05/0.2835, allocations: 14.2 kB / 374.4 MB, free: 19.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001095/0.2846, allocations: 426.3 kB / 374.8 MB, free: 19.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.785e-06/0.2846, allocations: 0 / 374.8 MB, free: 19.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.06874/0.3533, allocations: 15.42 MB / 390.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.532e-05/0.3535, allocations: 145.4 kB / 390.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005459/0.354, allocations: 0.5192 MB / 390.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000172/0.3542, allocations: 49.64 kB / 390.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.3544, allocations: 390.8 kB / 391.3 MB, free: 13.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/0.3546, allocations: 318.5 kB / 391.6 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/0.3549, allocations: 181 kB / 391.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.003e-05/0.355, allocations: 386.5 kB / 392.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/0.3568, allocations: 0.7266 MB / 392.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/0.3586, allocations: 0.9473 MB / 393.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00334/0.362, allocations: 1.697 MB / 395.6 MB, free: 9.109 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.362, allocations: 0 / 395.6 MB, free: 9.109 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02151/0.3835, allocations: 5.369 MB / 400.9 MB, free: 3.707 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.819e-05/0.3836, allocations: 63.41 kB / 401 MB, free: 3.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.3836, allocations: 16.11 kB / 401 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03348/0.4171, allocations: 6.822 MB / 407.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007009/0.4179, allocations: 147.7 kB / 408 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005945/0.4238, allocations: 3.017 MB / 411 MB, free: 9.574 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/0.4255, allocations: 187.7 kB / 411.2 MB, free: 9.391 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.4257, allocations: 51.97 kB / 411.2 MB, free: 9.34 MB / 318.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.00042/0.4261, allocations: 217.7 kB / 411.4 MB, free: 9.117 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.4263, allocations: 83 kB / 411.5 MB, free: 9.035 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02203/0.4483, allocations: 5.107 MB / 416.6 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.4484, allocations: 8 kB / 416.6 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.4484, allocations: 1.125 kB / 416.6 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-05/0.4484, allocations: 7.969 kB / 416.6 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.45, allocations: 1.106 MB / 417.8 MB, free: 2.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.45, allocations: 0 / 417.8 MB, free: 2.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005333/0.4505, allocations: 91.81 kB / 417.8 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03359/0.4841, allocations: 6.803 MB / 424.6 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002506/0.4844, allocations: 28.62 kB / 424.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005919/0.4904, allocations: 3.017 MB / 427.7 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.4904, allocations: 8.797 kB / 427.7 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0247/0.5151, allocations: 5.984 MB / 433.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002452/0.5154, allocations: 148.1 kB / 433.8 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002866/0.5157, allocations: 16 kB / 433.8 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/0.5172, allocations: 167.8 kB / 434 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003076/0.5175, allocations: 109.7 kB / 434.1 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.5177, allocations: 27.97 kB / 434.1 MB, free: 2.281 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004645/0.5181, allocations: 354.8 kB / 434.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5181, allocations: 0 / 434.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009084/0.5191, allocations: 256 kB / 434.7 MB, free: 1.688 MB / 334.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.0003021/0.5194, allocations: 138.7 kB / 434.9 MB, free: 1.551 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.005994/0.5254, allocations: 2.055 MB / 436.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.5254, allocations: 0 / 436.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003475/0.5289, allocations: 1.071 MB / 438 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009216/0.5298, allocations: 120.2 kB / 438.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004167/0.534, allocations: 2.174 MB / 440.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.5346, allocations: 0.9546 MB / 441.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.5348, allocations: 39.44 kB / 441.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of SimCode: time 1.182e-06/0.5348, allocations: 3.938 kB / 441.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Templates: time 0.02267/0.5575, allocations: 17.38 MB / 458.7 MB, free: 9.73 MB / 366.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