Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002265/0.002265, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.197/2.197, allocations: 230.6 MB / 258.2 MB, free: 7.781 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 51.92 kB / 379 MB, free: 2.406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.345, allocations: 53.37 MB / 432.4 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.009018/0.3541, allocations: 4.425 MB / 436.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003848/0.3579, allocations: 1.248 MB / 438 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006657/0.3586, allocations: 15.88 kB / 438 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004401/0.359, allocations: 122.7 kB / 438.2 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008946/0.3599, allocations: 261.6 kB / 438.4 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.361, allocations: 319.5 kB / 438.7 MB, free: 264 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001812/0.3628, allocations: 1.099 MB / 439.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004729/0.3632, allocations: 194.7 kB / 440 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008383/0.3641, allocations: 422.6 kB / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009107/0.365, allocations: 482 kB / 440.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001944/0.3652, allocations: 88 kB / 441 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003317/0.3655, allocations: 116 kB / 441.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002596/0.3658, allocations: 207.3 kB / 441.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005803/0.3664, allocations: 382.3 kB / 441.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.368, allocations: 1.038 MB / 442.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.368, allocations: 0 / 442.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.368, allocations: 0 / 442.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.368, allocations: 0 / 442.7 MB, free: 12.25 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.003927/0.372, allocations: 1.213 MB / 443.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.372, allocations: 8.031 kB / 443.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002799/0.3723, allocations: 100.3 kB / 444 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.3734, allocations: 426.1 kB / 444.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.273e-05/0.3735, allocations: 53.67 kB / 444.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/0.3737, allocations: 68.33 kB / 444.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00243/0.3761, allocations: 0.7764 MB / 445.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.3761, allocations: 3.984 kB / 445.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.3763, allocations: 28 kB / 445.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.3763, allocations: 16 kB / 445.4 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002786/0.3791, allocations: 0.6921 MB / 446.1 MB, free: 8.773 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.006317/0.3854, allocations: 1.796 MB / 447.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002388/0.3878, allocations: 0.5592 MB / 448.4 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/0.389, allocations: 313.9 kB / 448.7 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.412e-05/0.3891, allocations: 8.438 kB / 448.8 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001749/0.3908, allocations: 0.5332 MB / 449.3 MB, free: 5.426 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 4.588e-06/0.3908, allocations: 4 kB / 449.3 MB, free: 5.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.1121/0.5029, allocations: 15.26 MB / 464.6 MB, free: 6.102 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001585/0.5031, allocations: 141.5 kB / 464.7 MB, free: 5.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.5041, allocations: 0.5262 MB / 465.2 MB, free: 5.395 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002501/0.5043, allocations: 41.7 kB / 465.3 MB, free: 5.348 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004552/0.5048, allocations: 404.6 kB / 465.7 MB, free: 4.945 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004783/0.5053, allocations: 321.2 kB / 466 MB, free: 4.629 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000614/0.5059, allocations: 190.5 kB / 466.2 MB, free: 4.438 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002741/0.5062, allocations: 386.8 kB / 466.5 MB, free: 4.051 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00336/0.5095, allocations: 0.7785 MB / 467.3 MB, free: 3.258 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003771/0.5133, allocations: 1.088 MB / 468.4 MB, free: 2.051 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006265/0.5196, allocations: 1.697 MB / 470.1 MB, free: 268 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/0.5196, allocations: 7.938 kB / 470.1 MB, free: 260 kB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.03742/0.557, allocations: 5.409 MB / 475.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.5571, allocations: 67.39 kB / 475.6 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/0.5571, allocations: 4 kB / 475.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04993/0.6071, allocations: 6.841 MB / 482.4 MB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009887/0.608, allocations: 147.7 kB / 482.6 MB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/0.6183, allocations: 3.165 MB / 485.7 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/0.6206, allocations: 175.8 kB / 485.9 MB, free: 332 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002107/0.6208, allocations: 51.97 kB / 486 MB, free: 280 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.0006207/0.6214, allocations: 224 kB / 486.2 MB, free: 48 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002989/0.6217, allocations: 83.67 kB / 486.3 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03202/0.6538, allocations: 5.079 MB / 491.3 MB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.489e-05/0.6538, allocations: 8 kB / 491.3 MB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.6538, allocations: 4 kB / 491.3 MB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.747e-05/0.6538, allocations: 7.984 kB / 491.4 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/0.6557, allocations: 0.7607 MB / 492.1 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.6557, allocations: 0 / 492.1 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007443/0.6564, allocations: 91.88 kB / 492.2 MB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04971/0.7061, allocations: 6.793 MB / 499 MB, free: 3.156 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000292/0.7064, allocations: 28.22 kB / 499 MB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008481/0.7149, allocations: 3.041 MB / 0.4903 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.7149, allocations: 0 / 0.4903 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03685/0.7518, allocations: 5.96 MB / 0.4961 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002852/0.752, allocations: 71.5 kB / 0.4962 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002641/0.7523, allocations: 23.88 kB / 0.4962 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002089/0.7544, allocations: 167.8 kB / 0.4964 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003859/0.7548, allocations: 96.83 kB / 0.4965 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/0.7549, allocations: 35.92 kB / 0.4965 GB, free: 9.656 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006291/0.7556, allocations: 350.8 kB / 0.4968 GB, free: 9.316 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7556, allocations: 4 kB / 0.4968 GB, free: 9.312 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001181/0.7568, allocations: 263.9 kB / 0.4971 GB, free: 9.055 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.0003339/0.7571, allocations: 127.1 kB / 0.4972 GB, free: 8.922 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01/0.7671, allocations: 2.165 MB / 0.4993 GB, free: 6.715 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.7671, allocations: 0 / 0.4993 GB, free: 6.715 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005317/0.7724, allocations: 1.007 MB / 0.5003 GB, free: 5.711 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.7735, allocations: 133 kB / 0.5004 GB, free: 5.586 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005803/0.7793, allocations: 1.791 MB / 0.5022 GB, free: 3.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/0.7798, allocations: 361.6 kB / 0.5025 GB, free: 3.383 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004147/0.7802, allocations: 58.22 kB / 0.5026 GB, free: 3.324 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.7804, allocations: 35.42 kB / 0.5026 GB, free: 3.289 MB / 414.1 MB Notification: Performance of SimCode: time 9.81e-07/0.7804, allocations: 0 / 0.5026 GB, free: 3.289 MB / 414.1 MB Notification: Performance of Templates: time 0.05066/0.8311, allocations: 20.24 MB / 0.5224 GB, free: 15.17 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.79871950300003]