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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.008635/0.008635, allocations: 105 kB / 21.98 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001733/0.001733, allocations: 222.6 kB / 25.3 MB, free: 3.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.45/1.45, allocations: 230.6 MB / 259 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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=5041,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=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") [Timeout 660] "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.001902/0.001902, allocations: 67.88 kB / 379.8 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2436, allocations: 53.36 MB / 433.2 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006557/0.2502, allocations: 5.001 MB / 438.2 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00285/0.253, allocations: 1.299 MB / 439.5 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004782/0.2535, allocations: 15.94 kB / 439.5 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.2539, allocations: 122.7 kB / 439.6 MB, free: 492 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005551/0.2544, allocations: 269.7 kB / 439.9 MB, free: 220 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008164/0.2552, allocations: 307.5 kB / 440.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001348/0.2566, allocations: 1.099 MB / 441.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000381/0.257, allocations: 187 kB / 441.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006124/0.2576, allocations: 434.5 kB / 441.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006499/0.2582, allocations: 478 kB / 442.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.2584, allocations: 88 kB / 442.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002355/0.2586, allocations: 120 kB / 442.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001855/0.2588, allocations: 203.3 kB / 442.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004444/0.2592, allocations: 449.8 kB / 443.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.2605, allocations: 1.04 MB / 444.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2605, allocations: 4 kB / 444.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2605, allocations: 0 / 444.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.2605, allocations: 0 / 444.2 MB, free: 11.84 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.00256/0.2631, allocations: 1.202 MB / 445.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.2631, allocations: 8.031 kB / 445.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/0.2633, allocations: 104.3 kB / 445.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007576/0.264, allocations: 426.1 kB / 446 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.926e-05/0.2641, allocations: 49.69 kB / 446 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.2642, allocations: 68.33 kB / 446.1 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.2657, allocations: 0.6509 MB / 446.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.2657, allocations: 3.984 kB / 446.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.794e-05/0.2657, allocations: 28 kB / 446.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.2658, allocations: 23.94 kB / 446.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001711/0.2675, allocations: 0.6883 MB / 447.5 MB, free: 8.52 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.004259/0.2717, allocations: 2.316 MB / 449.8 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.2732, allocations: 0.5522 MB / 450.4 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007265/0.2739, allocations: 317.9 kB / 450.7 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.238e-05/0.274, allocations: 16.38 kB / 450.7 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009782/0.2749, allocations: 428.4 kB / 451.1 MB, free: 4.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.655e-06/0.2749, allocations: 0 / 451.1 MB, free: 4.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06824/0.3432, allocations: 15.25 MB / 466.3 MB, free: 5.414 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.3433, allocations: 141.5 kB / 466.5 MB, free: 5.242 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007362/0.344, allocations: 0.5225 MB / 467 MB, free: 4.711 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001979/0.3442, allocations: 41.7 kB / 467 MB, free: 4.664 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/0.3446, allocations: 396.7 kB / 467.4 MB, free: 4.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003211/0.3449, allocations: 337.2 kB / 467.8 MB, free: 3.938 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003732/0.3452, allocations: 178.6 kB / 467.9 MB, free: 3.758 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.3454, allocations: 390.7 kB / 468.3 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002032/0.3475, allocations: 0.7205 MB / 469 MB, free: 2.645 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002219/0.3497, allocations: 0.959 MB / 470 MB, free: 1.598 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004132/0.3538, allocations: 1.689 MB / 471.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.3538, allocations: 4 kB / 471.7 MB, free: 15.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02331/0.3771, allocations: 5.339 MB / 477 MB, free: 10.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.3772, allocations: 71.33 kB / 477.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.3773, allocations: 8.125 kB / 477.1 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03374/0.411, allocations: 6.844 MB / 484 MB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007472/0.4118, allocations: 151.7 kB / 484.1 MB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00698/0.4187, allocations: 3.161 MB / 487.3 MB, free: 128 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/0.4204, allocations: 175.8 kB / 487.4 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.4205, allocations: 47.97 kB / 487.5 MB, free: 15.91 MB / 398.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.0004546/0.4209, allocations: 229.6 kB / 487.7 MB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.4211, allocations: 83.48 kB / 487.8 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02299/0.4441, allocations: 5.068 MB / 492.9 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/0.4441, allocations: 12 kB / 492.9 MB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.4441, allocations: 256 / 492.9 MB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.848e-05/0.4441, allocations: 11.97 kB / 492.9 MB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/0.4459, allocations: 1.08 MB / 494 MB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.4459, allocations: 0 / 494 MB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005311/0.4464, allocations: 91.88 kB / 494 MB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03376/0.4802, allocations: 6.793 MB / 0.4891 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002019/0.4804, allocations: 27.95 kB / 0.4891 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006253/0.4867, allocations: 3.045 MB / 0.4921 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4867, allocations: 4 kB / 0.4921 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02514/0.5118, allocations: 5.948 MB / 0.4979 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001998/0.512, allocations: 87.28 kB / 0.498 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001786/0.5122, allocations: 19.98 kB / 0.498 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/0.5136, allocations: 167.8 kB / 0.4982 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002706/0.5139, allocations: 96.83 kB / 0.4983 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.18e-05/0.514, allocations: 31.98 kB / 0.4983 GB, free: 8.953 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004634/0.5144, allocations: 354.8 kB / 0.4986 GB, free: 8.609 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5144, allocations: 4 kB / 0.4986 GB, free: 8.605 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007669/0.5152, allocations: 263.9 kB / 0.4989 GB, free: 8.348 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.0002937/0.5155, allocations: 127.1 kB / 0.499 GB, free: 8.215 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007091/0.5226, allocations: 2.103 MB / 0.5011 GB, free: 6.082 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5226, allocations: 0 / 0.5011 GB, free: 6.082 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003532/0.5261, allocations: 1.015 MB / 0.5021 GB, free: 5.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007318/0.5269, allocations: 134.5 kB / 0.5022 GB, free: 4.941 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004129/0.531, allocations: 1.82 MB / 0.504 GB, free: 3.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005946/0.5316, allocations: 0.9468 MB / 0.5049 GB, free: 2.109 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.5318, allocations: 39.44 kB / 0.5049 GB, free: 2.07 MB / 414.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5318, allocations: 0 / 0.5049 GB, free: 2.07 MB / 414.1 MB Notification: Performance of Templates: time 0.02375/0.5555, allocations: 17.49 MB / 0.522 GB, free: 0.6133 MB / 430.1 MB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins1/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.691798810847104]