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.001481/0.001481, allocations: 117.7 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.001686/0.001686, allocations: 200.8 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.233, allocations: 50.54 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.00572/0.2388, allocations: 4.949 MB / 414.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002588/0.2414, allocations: 1.291 MB / 416.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006753/0.2421, allocations: 12 kB / 416.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004391/0.2426, allocations: 130.6 kB / 416.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007311/0.2434, allocations: 249.7 kB / 416.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007953/0.2442, allocations: 311.4 kB / 416.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.2454, allocations: 1.095 MB / 418 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004272/0.2459, allocations: 266.5 kB / 418.2 MB, free: 9.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006327/0.2465, allocations: 422.5 kB / 418.6 MB, free: 8.859 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007039/0.2472, allocations: 466 kB / 419.1 MB, free: 8.402 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002166/0.2475, allocations: 88 kB / 419.2 MB, free: 8.316 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002836/0.2477, allocations: 108 kB / 419.3 MB, free: 8.211 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.2479, allocations: 199.3 kB / 419.5 MB, free: 8.016 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004512/0.2484, allocations: 449.8 kB / 419.9 MB, free: 7.574 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009557/0.2493, allocations: 0.9977 MB / 420.9 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2494, allocations: 0 / 420.9 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2494, allocations: 0 / 420.9 MB, free: 6.578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.486e-05/0.2494, allocations: 0 / 420.9 MB, free: 6.578 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.0027/0.2521, allocations: 1.274 MB / 422.2 MB, free: 5.238 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2522, allocations: 12.03 kB / 422.2 MB, free: 5.227 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.2523, allocations: 87.91 kB / 422.3 MB, free: 5.141 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006615/0.253, allocations: 487.5 kB / 422.8 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.12e-05/0.2531, allocations: 49.69 kB / 422.8 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.2532, allocations: 60.38 kB / 422.9 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.2547, allocations: 0.6665 MB / 423.5 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.2547, allocations: 0 / 423.5 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.877e-05/0.2548, allocations: 27.98 kB / 423.6 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.2548, allocations: 16 kB / 423.6 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.2566, allocations: 0.6961 MB / 424.3 MB, free: 3.102 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.004077/0.2607, allocations: 2.363 MB / 426.6 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.2622, allocations: 0.5904 MB / 427.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007591/0.263, allocations: 333.9 kB / 427.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.376e-05/0.263, allocations: 8.344 kB / 427.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009506/0.264, allocations: 421.5 kB / 428 MB, free: 15.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.375e-06/0.264, allocations: 3.938 kB / 428 MB, free: 15.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07015/0.3342, allocations: 15.42 MB / 443.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.346e-05/0.3343, allocations: 145.4 kB / 443.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007019/0.335, allocations: 0.5224 MB / 444.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002115/0.3352, allocations: 41.7 kB / 444.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/0.3355, allocations: 395.8 kB / 444.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003888/0.3359, allocations: 319.4 kB / 444.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004121/0.3364, allocations: 178.5 kB / 445 MB, free: 14.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.3365, allocations: 390.7 kB / 445.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002131/0.3387, allocations: 0.7205 MB / 446.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002273/0.341, allocations: 0.9668 MB / 447.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004282/0.3453, allocations: 1.701 MB / 448.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.3453, allocations: 0 / 448.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02312/0.3684, allocations: 5.366 MB / 454.1 MB, free: 4.684 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.154e-05/0.3685, allocations: 66.05 kB / 454.2 MB, free: 4.609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/0.3686, allocations: 8 kB / 454.2 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03352/0.4021, allocations: 6.829 MB / 461 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007369/0.4029, allocations: 151.7 kB / 461.2 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006123/0.409, allocations: 3.008 MB / 464.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/0.4107, allocations: 175.9 kB / 464.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/0.4109, allocations: 55.97 kB / 464.4 MB, free: 10.32 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.0004863/0.4114, allocations: 229.6 kB / 464.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/0.4116, allocations: 82.95 kB / 464.7 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02213/0.4338, allocations: 5.107 MB / 469.8 MB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.4338, allocations: 11.98 kB / 469.8 MB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.4338, allocations: 0 / 469.8 MB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.398e-05/0.4339, allocations: 7.984 kB / 469.8 MB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.4355, allocations: 1.096 MB / 470.9 MB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.4355, allocations: 0 / 470.9 MB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000547/0.4361, allocations: 99.81 kB / 471 MB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03265/0.4687, allocations: 6.786 MB / 477.8 MB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002129/0.469, allocations: 23.97 kB / 477.8 MB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005786/0.4748, allocations: 3.025 MB / 480.9 MB, free: 9.711 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4748, allocations: 4 kB / 480.9 MB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02402/0.4988, allocations: 5.979 MB / 486.8 MB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002226/0.4991, allocations: 148.1 kB / 487 MB, free: 3.531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002814/0.4994, allocations: 16 kB / 487 MB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/0.5009, allocations: 171.8 kB / 487.2 MB, free: 3.348 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002808/0.5012, allocations: 92.88 kB / 487.3 MB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/0.5013, allocations: 35.97 kB / 487.3 MB, free: 3.223 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004328/0.5017, allocations: 354.8 kB / 487.6 MB, free: 2.875 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5017, allocations: 4 kB / 487.7 MB, free: 2.871 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008128/0.5026, allocations: 260 kB / 487.9 MB, free: 2.617 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.0002778/0.5028, allocations: 136.2 kB / 488 MB, free: 2.477 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006077/0.5089, allocations: 2.064 MB / 490.1 MB, free: 400 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.509, allocations: 4.062 kB / 490.1 MB, free: 396 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003574/0.5125, allocations: 1.077 MB / 491.2 MB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008133/0.5134, allocations: 126.5 kB / 491.3 MB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/0.517, allocations: 1.819 MB / 493.1 MB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/0.5175, allocations: 0.9545 MB / 494.1 MB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.5177, allocations: 35.44 kB / 494.1 MB, free: 12.31 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5177, allocations: 0 / 494.1 MB, free: 12.31 MB / 414.1 MB Notification: Performance of Templates: time 0.02164/0.5394, allocations: 17.45 MB / 0.4996 GB, free: 10.88 MB / 430.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