Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 51.92 kB / 368.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2677, allocations: 52.13 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.00653/0.2742, allocations: 4.986 MB / 425.9 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002815/0.277, allocations: 1.279 MB / 427.2 MB, free: 8.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003239/0.2773, allocations: 16 kB / 427.2 MB, free: 8.824 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.2777, allocations: 126.7 kB / 427.3 MB, free: 8.699 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005053/0.2782, allocations: 261.7 kB / 427.5 MB, free: 8.441 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007585/0.2789, allocations: 307.5 kB / 427.8 MB, free: 8.141 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001162/0.2801, allocations: 1.099 MB / 428.9 MB, free: 7.039 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003388/0.2804, allocations: 190.5 kB / 429.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004994/0.2809, allocations: 418.5 kB / 429.5 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005595/0.2815, allocations: 486 kB / 430 MB, free: 5.941 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.2816, allocations: 88 kB / 430.1 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.2818, allocations: 116 kB / 430.2 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.282, allocations: 199.3 kB / 430.4 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004206/0.2824, allocations: 453.8 kB / 430.9 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.2835, allocations: 1.036 MB / 431.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.2836, allocations: 0 / 431.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2836, allocations: 0 / 431.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.2836, allocations: 0 / 431.9 MB, free: 4.066 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.002516/0.2861, allocations: 1.281 MB / 433.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.2861, allocations: 12.03 kB / 433.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.2863, allocations: 104.4 kB / 433.3 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007337/0.287, allocations: 487.9 kB / 433.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.602e-05/0.2871, allocations: 49.69 kB / 433.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.2872, allocations: 64.31 kB / 433.9 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.2886, allocations: 0.6626 MB / 434.5 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.2887, allocations: 0 / 434.5 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.718e-05/0.2887, allocations: 24 kB / 434.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/0.2887, allocations: 16 kB / 434.6 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.2905, allocations: 0.6922 MB / 435.3 MB, free: 0.5781 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.004142/0.2946, allocations: 2.383 MB / 437.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.2961, allocations: 0.5587 MB / 438.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007404/0.2968, allocations: 314 kB / 438.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.486e-05/0.2969, allocations: 4.438 kB / 438.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009683/0.2978, allocations: 428.8 kB / 438.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.064e-06/0.2978, allocations: 3.938 kB / 438.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07064/0.3685, allocations: 15.4 MB / 454.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.3686, allocations: 145.5 kB / 454.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007899/0.3694, allocations: 0.5186 MB / 455 MB, free: 12.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002253/0.3696, allocations: 45.7 kB / 455 MB, free: 12.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003759/0.37, allocations: 392.7 kB / 455.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003555/0.3704, allocations: 333.2 kB / 455.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003938/0.3708, allocations: 182.6 kB / 455.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002311/0.371, allocations: 386.7 kB / 456.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002033/0.373, allocations: 0.7283 MB / 457 MB, free: 10.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002163/0.3752, allocations: 0.9628 MB / 458 MB, free: 9.402 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004119/0.3793, allocations: 1.689 MB / 459.7 MB, free: 7.617 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.3793, allocations: 4 kB / 459.7 MB, free: 7.613 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0238/0.4031, allocations: 5.328 MB / 465 MB, free: 2.254 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.833e-05/0.4032, allocations: 67.39 kB / 465.1 MB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.4032, allocations: 4 kB / 465.1 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03564/0.4389, allocations: 6.849 MB / 471.9 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007383/0.4396, allocations: 147.8 kB / 472.1 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007342/0.447, allocations: 3.169 MB / 475.2 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/0.4486, allocations: 175.8 kB / 475.4 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.4488, allocations: 47.97 kB / 475.5 MB, free: 7.723 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.0005577/0.4493, allocations: 234.1 kB / 475.7 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003989/0.4497, allocations: 83.48 kB / 475.8 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02317/0.4729, allocations: 5.056 MB / 480.8 MB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.4729, allocations: 8 kB / 480.8 MB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.4729, allocations: 0 / 480.8 MB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.259e-05/0.473, allocations: 7.984 kB / 480.9 MB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.4746, allocations: 1.104 MB / 482 MB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.4746, allocations: 256 / 482 MB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005332/0.4751, allocations: 103.9 kB / 482.1 MB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03396/0.5091, allocations: 6.797 MB / 488.9 MB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003084/0.5094, allocations: 27.97 kB / 488.9 MB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006281/0.5157, allocations: 3.056 MB / 491.9 MB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5157, allocations: 0 / 491.9 MB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02433/0.54, allocations: 5.941 MB / 497.9 MB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002578/0.5403, allocations: 160.4 kB / 498 MB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.5404, allocations: 16 kB / 498 MB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/0.5417, allocations: 167.8 kB / 498.2 MB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002764/0.542, allocations: 100.9 kB / 498.3 MB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.927e-05/0.5421, allocations: 31.98 kB / 498.3 MB, free: 0.6445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004727/0.5426, allocations: 354.8 kB / 498.7 MB, free: 304 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5426, allocations: 0 / 498.7 MB, free: 304 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008448/0.5434, allocations: 263.9 kB / 498.9 MB, free: 40 kB / 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.0002831/0.5437, allocations: 123.2 kB / 499.1 MB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007304/0.551, allocations: 2.098 MB / 0.4894 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.551, allocations: 4 kB / 0.4894 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003668/0.5547, allocations: 1.028 MB / 0.4904 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008623/0.5556, allocations: 126.5 kB / 0.4905 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004142/0.5597, allocations: 1.801 MB / 0.4923 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005855/0.5603, allocations: 0.9507 MB / 0.4932 GB, free: 9.824 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002647/0.5606, allocations: 62.2 kB / 0.4933 GB, free: 9.762 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.5607, allocations: 39.44 kB / 0.4933 GB, free: 9.723 MB / 414.1 MB Notification: Performance of SimCode: time 8.82e-07/0.5607, allocations: 0 / 0.4933 GB, free: 9.723 MB / 414.1 MB Notification: Performance of Templates: time 0.04151/0.6022, allocations: 23.49 MB / 0.5163 GB, free: 2.32 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 5.9944624658674]