Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001418/0.001418, allocations: 84.25 kB / 20.68 MB, free: 1.039 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.001404/0.001404, allocations: 158.4 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] 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.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 325 MB, free: 316 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.398e-05, allocations: 2.281 kB / 325 MB, free: 312 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006416/0.00644, allocations: 4.437 MB / 329.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003771/0.01021, allocations: 1.255 MB / 330.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009308/0.01114, allocations: 14.59 kB / 330.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004173/0.01156, allocations: 125 kB / 330.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009046/0.01246, allocations: 274.8 kB / 331.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.01376, allocations: 317.7 kB / 331.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001656/0.01541, allocations: 1.139 MB / 332.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004483/0.01586, allocations: 182.7 kB / 332.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.01689, allocations: 0.6057 MB / 333.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006074/0.0175, allocations: 365.5 kB / 333.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000171/0.01767, allocations: 90.38 kB / 333.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002917/0.01796, allocations: 114.1 kB / 333.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002122/0.01818, allocations: 202 kB / 334.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004359/0.01861, allocations: 319.5 kB / 334.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.02004, allocations: 1.086 MB / 335.5 MB, free: 9.324 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.02005, allocations: 0 / 335.5 MB, free: 9.324 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.02005, allocations: 0 / 335.5 MB, free: 9.324 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.02006, allocations: 4 kB / 335.5 MB, free: 9.32 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.00282/0.02288, allocations: 1.198 MB / 336.7 MB, free: 8.406 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.02294, allocations: 14.02 kB / 336.7 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/0.02314, allocations: 99.2 kB / 336.8 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008255/0.02397, allocations: 421.4 kB / 337.2 MB, free: 7.996 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.618e-05/0.02402, allocations: 52.45 kB / 337.3 MB, free: 7.973 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.02416, allocations: 63 kB / 337.4 MB, free: 7.953 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.0258, allocations: 0.7745 MB / 338.1 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.02583, allocations: 8.125 kB / 338.1 MB, free: 7.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.258e-05/0.0259, allocations: 25.91 kB / 338.2 MB, free: 7.391 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/0.02592, allocations: 19.62 kB / 338.2 MB, free: 7.387 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.02779, allocations: 0.6898 MB / 338.9 MB, free: 6.934 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.004022/0.03181, allocations: 1.817 MB / 340.7 MB, free: 5.043 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/0.03341, allocations: 0.5554 MB / 341.2 MB, free: 4.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008227/0.03423, allocations: 306.2 kB / 341.5 MB, free: 4.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.632e-05/0.03428, allocations: 4.5 kB / 341.6 MB, free: 4.176 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001119/0.0354, allocations: 0.5536 MB / 342.1 MB, free: 3.562 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.515e-06/0.0354, allocations: 0 / 342.1 MB, free: 3.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.07566/0.1111, allocations: 15.24 MB / 357.3 MB, free: 4.262 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.1112, allocations: 145.5 kB / 357.5 MB, free: 4.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007698/0.1119, allocations: 0.5262 MB / 358 MB, free: 3.551 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002055/0.1122, allocations: 45.7 kB / 358.1 MB, free: 3.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003376/0.1125, allocations: 396.7 kB / 358.4 MB, free: 3.105 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003855/0.1129, allocations: 329.1 kB / 358.8 MB, free: 2.781 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004355/0.1133, allocations: 186.5 kB / 358.9 MB, free: 2.594 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.1135, allocations: 386.8 kB / 359.3 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002361/0.1159, allocations: 0.7746 MB / 360.1 MB, free: 1.422 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00248/0.1184, allocations: 1.088 MB / 361.2 MB, free: 216 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00465/0.123, allocations: 1.701 MB / 362.9 MB, free: 14.42 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.123, allocations: 0 / 362.9 MB, free: 14.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02511/0.1481, allocations: 5.397 MB / 368.3 MB, free: 8.977 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.382e-05/0.1482, allocations: 71.39 kB / 368.4 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.1482, allocations: 4 kB / 368.4 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03697/0.1852, allocations: 6.844 MB / 375.2 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008063/0.186, allocations: 155.7 kB / 375.4 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007573/0.1936, allocations: 3.164 MB / 378.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/0.1954, allocations: 183.8 kB / 378.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001716/0.1956, allocations: 47.97 kB / 378.7 MB, free: 14.43 MB / 350.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.0005109/0.1961, allocations: 221.7 kB / 379 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002186/0.1963, allocations: 87.42 kB / 379 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02397/0.2203, allocations: 5.068 MB / 384.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.2203, allocations: 8 kB / 384.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.2203, allocations: 0 / 384.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.462e-05/0.2203, allocations: 8.219 kB / 384.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.2219, allocations: 0.7581 MB / 384.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.2219, allocations: 8 kB / 384.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000601/0.2225, allocations: 91.88 kB / 385 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03682/0.2593, allocations: 6.785 MB / 391.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002408/0.2596, allocations: 23.97 kB / 391.8 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006537/0.2661, allocations: 3.045 MB / 394.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.2661, allocations: 3.938 kB / 394.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02709/0.2932, allocations: 5.944 MB / 400.8 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002852/0.2935, allocations: 75.59 kB / 400.9 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003293/0.2938, allocations: 27.94 kB / 400.9 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/0.2954, allocations: 171.8 kB / 401.1 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003275/0.2957, allocations: 100.8 kB / 401.2 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/0.2959, allocations: 35.97 kB / 401.2 MB, free: 7.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004703/0.2963, allocations: 342.9 kB / 401.5 MB, free: 7.484 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2963, allocations: 0 / 401.5 MB, free: 7.484 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009599/0.2973, allocations: 263.9 kB / 401.8 MB, free: 7.227 MB / 366.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.0003266/0.2976, allocations: 135.2 kB / 401.9 MB, free: 7.086 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007838/0.3055, allocations: 2.156 MB / 404.1 MB, free: 4.891 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.3055, allocations: 5.375 kB / 404.1 MB, free: 4.887 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004013/0.3095, allocations: 1.022 MB / 405.1 MB, free: 3.867 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009074/0.3104, allocations: 133.1 kB / 405.2 MB, free: 3.738 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004288/0.3147, allocations: 1.734 MB / 407 MB, free: 1.973 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.3151, allocations: 361.6 kB / 407.3 MB, free: 1.594 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002642/0.3153, allocations: 54.22 kB / 407.4 MB, free: 1.539 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.3155, allocations: 48.48 kB / 407.4 MB, free: 1.492 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3155, allocations: 0 / 407.4 MB, free: 1.492 MB / 366.1 MB Notification: Performance of Templates: time 0.03277/0.3482, allocations: 18.84 MB / 426.3 MB, free: 14.78 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 5.701353158801794]