Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=500,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001802/0.001802, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002215/0.002215, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.559/1.559, allocations: 230.4 MB / 251.1 MB, free: 8.434 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002844/0.002844, allocations: 67.83 kB / 369 MB, free: 6.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3345, allocations: 53.31 MB / 422.3 MB, free: 7.812 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.007424/0.3419, allocations: 4.993 MB / 427.3 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003534/0.3455, allocations: 1.283 MB / 428.6 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009541/0.3464, allocations: 19.88 kB / 428.6 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000554/0.347, allocations: 122.7 kB / 428.7 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00107/0.348, allocations: 261.6 kB / 429 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.3491, allocations: 315.4 kB / 429.3 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001791/0.3509, allocations: 1.095 MB / 430.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004338/0.3513, allocations: 190.5 kB / 430.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006805/0.352, allocations: 422.5 kB / 431 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006595/0.3527, allocations: 474.1 kB / 431.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.3528, allocations: 88 kB / 431.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002281/0.3531, allocations: 116 kB / 431.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.3532, allocations: 207.3 kB / 431.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000456/0.3537, allocations: 453.8 kB / 432.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.355, allocations: 1.031 MB / 433.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.355, allocations: 0 / 433.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.355, allocations: 0 / 433.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.986e-05/0.355, allocations: 3.938 kB / 433.3 MB, free: 12.73 MB / 350.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.00289/0.3579, allocations: 1.277 MB / 434.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.358, allocations: 16.02 kB / 434.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002194/0.3582, allocations: 100.3 kB / 434.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008631/0.359, allocations: 495.9 kB / 435.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.876e-05/0.3591, allocations: 49.69 kB / 435.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.3592, allocations: 64.33 kB / 435.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.3608, allocations: 0.6626 MB / 436 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.3608, allocations: 3.938 kB / 436 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.992e-05/0.3609, allocations: 24 kB / 436 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.3609, allocations: 16 kB / 436 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.3626, allocations: 0.6961 MB / 436.7 MB, free: 9.23 MB / 350.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.004479/0.3671, allocations: 2.363 MB / 439.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.3686, allocations: 0.5592 MB / 439.6 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007456/0.3693, allocations: 314 kB / 439.9 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.994e-05/0.3694, allocations: 8.422 kB / 439.9 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.3704, allocations: 425.4 kB / 440.3 MB, free: 5.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.984e-06/0.3704, allocations: 0 / 440.3 MB, free: 5.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07324/0.4436, allocations: 15.4 MB / 455.7 MB, free: 5.895 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.4438, allocations: 145.5 kB / 455.9 MB, free: 5.723 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007821/0.4445, allocations: 0.5225 MB / 456.4 MB, free: 5.188 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001985/0.4447, allocations: 45.7 kB / 456.4 MB, free: 5.137 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003476/0.4451, allocations: 396.7 kB / 456.8 MB, free: 4.742 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003994/0.4455, allocations: 329.2 kB / 457.2 MB, free: 4.418 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004209/0.4459, allocations: 186.6 kB / 457.3 MB, free: 4.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.4461, allocations: 386.7 kB / 457.7 MB, free: 3.844 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002154/0.4483, allocations: 0.7244 MB / 458.4 MB, free: 3.117 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002315/0.4506, allocations: 0.959 MB / 459.4 MB, free: 2.074 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004367/0.4549, allocations: 1.697 MB / 461.1 MB, free: 288 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.455, allocations: 4 kB / 461.1 MB, free: 284 kB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02396/0.4789, allocations: 5.339 MB / 466.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.479, allocations: 63.41 kB / 466.5 MB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/0.479, allocations: 8 kB / 466.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03409/0.5131, allocations: 6.837 MB / 473.3 MB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007237/0.5139, allocations: 151.7 kB / 473.5 MB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00744/0.5213, allocations: 3.165 MB / 476.7 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/0.523, allocations: 179.8 kB / 476.8 MB, free: 440 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/0.5232, allocations: 43.98 kB / 476.9 MB, free: 396 kB / 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.0005582/0.5237, allocations: 239.1 kB / 477.1 MB, free: 148 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.5239, allocations: 83.48 kB / 477.2 MB, free: 64 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02329/0.5472, allocations: 5.068 MB / 482.3 MB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.407e-05/0.5473, allocations: 8 kB / 482.3 MB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.5473, allocations: 0 / 482.3 MB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-05/0.5473, allocations: 3.984 kB / 482.3 MB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.5494, allocations: 1.108 MB / 483.4 MB, free: 9.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/0.5495, allocations: 0 / 483.4 MB, free: 9.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005843/0.55, allocations: 99.81 kB / 483.5 MB, free: 9.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03524/0.5853, allocations: 6.789 MB / 490.3 MB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002309/0.5855, allocations: 28.22 kB / 490.3 MB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006424/0.5919, allocations: 3.045 MB / 493.3 MB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5919, allocations: 0 / 493.3 MB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02564/0.6176, allocations: 5.944 MB / 499.3 MB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002892/0.6179, allocations: 160.4 kB / 499.4 MB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002868/0.6182, allocations: 16 kB / 499.5 MB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/0.6197, allocations: 167.8 kB / 499.6 MB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/0.62, allocations: 92.88 kB / 499.7 MB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.6201, allocations: 39.97 kB / 499.7 MB, free: 9.316 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004901/0.6206, allocations: 358.8 kB / 0.4884 GB, free: 8.965 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6206, allocations: 0 / 0.4884 GB, free: 8.965 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009563/0.6215, allocations: 256 kB / 0.4886 GB, free: 8.715 MB / 414.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.0003844/0.6219, allocations: 138.4 kB / 0.4888 GB, free: 8.574 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007269/0.6292, allocations: 2.106 MB / 0.4908 GB, free: 6.445 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.6292, allocations: 0 / 0.4908 GB, free: 6.445 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003667/0.6328, allocations: 1.012 MB / 0.4918 GB, free: 5.434 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008688/0.6337, allocations: 126.4 kB / 0.4919 GB, free: 5.305 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004291/0.638, allocations: 1.804 MB / 0.4937 GB, free: 3.473 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006289/0.6386, allocations: 0.9545 MB / 0.4946 GB, free: 2.492 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000283/0.6389, allocations: 54.28 kB / 0.4947 GB, free: 2.438 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.6391, allocations: 39.44 kB / 0.4947 GB, free: 2.398 MB / 414.1 MB Notification: Performance of SimCode: time 2.034e-06/0.6391, allocations: 0 / 0.4947 GB, free: 2.398 MB / 414.1 MB Notification: Performance of Templates: time 0.03927/0.6783, allocations: 23.38 MB / 0.5175 GB, free: 11.11 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches