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.00144/0.00144, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001518/0.001518, allocations: 209.4 kB / 23.74 MB, free: 4.66 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 1.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.001648/0.001648, allocations: 47.92 kB / 378.3 MB, free: 2.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2679, allocations: 53.36 MB / 431.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.007448/0.2754, allocations: 5.007 MB / 436.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002764/0.2781, allocations: 1.291 MB / 437.9 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005707/0.2787, allocations: 15.94 kB / 438 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003676/0.2791, allocations: 130.7 kB / 438.1 MB, free: 472 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005778/0.2796, allocations: 265.7 kB / 438.3 MB, free: 204 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008387/0.2805, allocations: 307.5 kB / 438.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001345/0.2818, allocations: 1.095 MB / 439.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004023/0.2822, allocations: 191 kB / 439.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005996/0.2828, allocations: 426.5 kB / 440.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006711/0.2835, allocations: 482 kB / 440.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.2836, allocations: 92 kB / 440.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002425/0.2839, allocations: 116 kB / 441 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002044/0.2841, allocations: 199.3 kB / 441.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004825/0.2846, allocations: 461.8 kB / 441.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.2858, allocations: 1.036 MB / 442.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.2858, allocations: 0 / 442.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.2858, allocations: 0 / 442.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.2859, allocations: 0 / 442.7 MB, free: 11.82 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.002758/0.2886, allocations: 1.202 MB / 443.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.2887, allocations: 12.03 kB / 443.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001971/0.2889, allocations: 100.3 kB / 444 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008104/0.2897, allocations: 430.1 kB / 444.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.301e-05/0.2897, allocations: 45.69 kB / 444.5 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.2898, allocations: 68.33 kB / 444.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.2913, allocations: 0.6587 MB / 445.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.2913, allocations: 0 / 445.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-05/0.2914, allocations: 28 kB / 445.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.2914, allocations: 16 kB / 445.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.2932, allocations: 0.6961 MB / 445.9 MB, free: 8.504 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.004651/0.2978, allocations: 2.316 MB / 448.3 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.2993, allocations: 0.5503 MB / 448.8 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007348/0.3001, allocations: 310 kB / 449.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.518e-05/0.3001, allocations: 8.375 kB / 449.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000991/0.3011, allocations: 425.4 kB / 449.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.165e-06/0.3011, allocations: 11.88 kB / 449.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07371/0.3748, allocations: 15.25 MB / 464.8 MB, free: 5.406 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.3749, allocations: 141.5 kB / 464.9 MB, free: 5.234 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008078/0.3757, allocations: 0.5264 MB / 465.5 MB, free: 4.699 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002125/0.376, allocations: 41.7 kB / 465.5 MB, free: 4.652 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/0.3763, allocations: 392.7 kB / 465.9 MB, free: 4.262 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003469/0.3767, allocations: 329.2 kB / 466.2 MB, free: 3.938 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003857/0.377, allocations: 182.6 kB / 466.4 MB, free: 3.754 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000228/0.3773, allocations: 390.7 kB / 466.8 MB, free: 3.363 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002094/0.3794, allocations: 0.7244 MB / 467.5 MB, free: 2.637 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002285/0.3817, allocations: 0.9629 MB / 468.5 MB, free: 1.586 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004291/0.3859, allocations: 1.693 MB / 470.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.386, allocations: 4 kB / 470.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0251/0.4111, allocations: 5.343 MB / 475.5 MB, free: 10.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.4112, allocations: 59.41 kB / 475.6 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/0.4112, allocations: 8 kB / 475.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0362/0.4474, allocations: 6.849 MB / 482.4 MB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008602/0.4482, allocations: 147.7 kB / 482.6 MB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008049/0.4563, allocations: 3.165 MB / 485.7 MB, free: 116 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/0.4581, allocations: 179.8 kB / 485.9 MB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/0.4583, allocations: 43.98 kB / 485.9 MB, free: 15.89 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.0005588/0.4589, allocations: 237.6 kB / 486.2 MB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/0.4591, allocations: 83.48 kB / 486.2 MB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02367/0.4828, allocations: 5.068 MB / 491.3 MB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/0.4828, allocations: 8 kB / 491.3 MB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.4828, allocations: 0 / 491.3 MB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.458e-05/0.4828, allocations: 7.984 kB / 491.3 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/0.4847, allocations: 1.076 MB / 492.4 MB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.4847, allocations: 0 / 492.4 MB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005739/0.4852, allocations: 91.88 kB / 492.5 MB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03601/0.5212, allocations: 6.789 MB / 499.3 MB, free: 2.453 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002546/0.5215, allocations: 23.97 kB / 499.3 MB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006263/0.5278, allocations: 3.053 MB / 0.4906 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5278, allocations: 0 / 0.4906 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02571/0.5535, allocations: 5.944 MB / 0.4964 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002637/0.5537, allocations: 83.39 kB / 0.4965 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003083/0.554, allocations: 20.12 kB / 0.4965 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001537/0.5556, allocations: 179.8 kB / 0.4967 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002688/0.5559, allocations: 96.83 kB / 0.4968 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/0.556, allocations: 35.97 kB / 0.4968 GB, free: 8.941 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004781/0.5565, allocations: 354.8 kB / 0.4971 GB, free: 8.598 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5565, allocations: 0 / 0.4971 GB, free: 8.598 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008403/0.5573, allocations: 263.9 kB / 0.4974 GB, free: 8.34 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.000276/0.5576, allocations: 131.1 kB / 0.4975 GB, free: 8.203 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007243/0.5648, allocations: 2.098 MB / 0.4996 GB, free: 6.074 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5648, allocations: 0 / 0.4996 GB, free: 6.074 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003644/0.5685, allocations: 1.02 MB / 0.5006 GB, free: 5.059 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008251/0.5693, allocations: 133.2 kB / 0.5007 GB, free: 4.934 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004637/0.5739, allocations: 1.791 MB / 0.5024 GB, free: 3.117 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006982/0.5746, allocations: 0.9507 MB / 0.5034 GB, free: 2.133 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002783/0.5749, allocations: 58.27 kB / 0.5034 GB, free: 2.074 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.575, allocations: 35.44 kB / 0.5034 GB, free: 2.039 MB / 414.1 MB Notification: Performance of SimCode: time 1.292e-06/0.575, allocations: 0 / 0.5034 GB, free: 2.039 MB / 414.1 MB Notification: Performance of Templates: time 0.04166/0.6167, allocations: 23.84 MB / 0.5267 GB, free: 10.3 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 -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/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_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: 6.188910939032212]