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.001276/0.001276, allocations: 120.8 kB / 18.46 MB, free: 4.449 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.001292/0.001292, allocations: 190.9 kB / 21.4 MB, free: 1.52 MB / 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.364/1.364, allocations: 225.6 MB / 249.8 MB, free: 3.621 MB / 190.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.001459/0.001459, allocations: 43.92 kB / 366.8 MB, free: 312 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09294/0.0944, allocations: 52.14 MB / 419 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006223/0.1006, allocations: 4.976 MB / 423.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.103, allocations: 1.272 MB / 425.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002936/0.1033, allocations: 11.94 kB / 425.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.1036, allocations: 122.7 kB / 425.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000474/0.1041, allocations: 261.6 kB / 425.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006515/0.1048, allocations: 315.5 kB / 425.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001108/0.1059, allocations: 1.095 MB / 427 MB, free: 4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003255/0.1062, allocations: 190.5 kB / 427.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004735/0.1067, allocations: 414.6 kB / 427.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006044/0.1073, allocations: 482 kB / 428.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.1074, allocations: 88 kB / 428.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002171/0.1076, allocations: 112 kB / 428.3 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.1078, allocations: 203.3 kB / 428.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004355/0.1083, allocations: 461.8 kB / 428.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.1094, allocations: 1.035 MB / 430 MB, free: 1.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1094, allocations: 0 / 430 MB, free: 1.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.083e-06/0.1094, allocations: 0 / 430 MB, free: 1.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.1094, allocations: 0 / 430 MB, free: 1.023 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.002669/0.112, allocations: 1.277 MB / 431.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.1121, allocations: 12.03 kB / 431.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.1122, allocations: 100.3 kB / 431.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006861/0.1129, allocations: 499.9 kB / 431.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.237e-05/0.113, allocations: 53.62 kB / 431.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.1131, allocations: 60.38 kB / 431.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.1145, allocations: 0.6548 MB / 432.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.1146, allocations: 0 / 432.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-05/0.1146, allocations: 28 kB / 432.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.1146, allocations: 16 kB / 432.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.1164, allocations: 0.696 MB / 433.3 MB, free: 13.53 MB / 366.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.003871/0.1202, allocations: 2.383 MB / 435.7 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.1217, allocations: 0.563 MB / 436.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007434/0.1224, allocations: 310.6 kB / 436.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.731e-05/0.1225, allocations: 12.42 kB / 436.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009233/0.1234, allocations: 417.5 kB / 437 MB, free: 9.672 MB / 366.1 MB Notification: Performance of pre-optimization done (n=54): time 2.054e-06/0.1234, allocations: 0 / 437 MB, free: 9.672 MB / 366.1 MB Notification: Performance of matching and sorting (n=94): time 0.241/0.3644, allocations: 15.4 MB / 452.4 MB, free: 29.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.3645, allocations: 141.4 kB / 452.5 MB, free: 29.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006698/0.3652, allocations: 0.5155 MB / 453.1 MB, free: 29.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001416/0.3653, allocations: 46.95 kB / 453.1 MB, free: 29.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.3655, allocations: 400.9 kB / 453.5 MB, free: 29.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/0.3657, allocations: 325.9 kB / 453.8 MB, free: 28.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003517/0.3661, allocations: 186.3 kB / 454 MB, free: 28.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.067e-05/0.3662, allocations: 393.9 kB / 454.4 MB, free: 28.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/0.3682, allocations: 0.7202 MB / 455.1 MB, free: 28.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002052/0.3702, allocations: 0.9527 MB / 456 MB, free: 28.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003833/0.3741, allocations: 1.693 MB / 457.7 MB, free: 27.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.3741, allocations: 1.281 kB / 457.7 MB, free: 27.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02202/0.3961, allocations: 5.339 MB / 463.1 MB, free: 26.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.794e-05/0.3961, allocations: 65.16 kB / 463.1 MB, free: 26.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.3961, allocations: 6.188 kB / 463.1 MB, free: 26.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03137/0.4275, allocations: 6.846 MB / 470 MB, free: 23.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006737/0.4282, allocations: 147.2 kB / 470.1 MB, free: 23.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005909/0.4341, allocations: 3.157 MB / 473.3 MB, free: 21.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.4357, allocations: 187 kB / 473.5 MB, free: 21.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.4358, allocations: 47.25 kB / 473.5 MB, free: 21.52 MB / 366.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.0003879/0.4362, allocations: 231 kB / 473.7 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.4364, allocations: 82.86 kB / 473.8 MB, free: 21.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01984/0.4562, allocations: 5.057 MB / 478.9 MB, free: 17.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.4562, allocations: 12 kB / 478.9 MB, free: 17.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.4562, allocations: 0.75 kB / 478.9 MB, free: 17.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/0.4563, allocations: 9.188 kB / 478.9 MB, free: 17.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.4574, allocations: 1.111 MB / 480 MB, free: 16.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.4574, allocations: 5.625 kB / 480 MB, free: 16.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004975/0.4579, allocations: 83.89 kB / 480.1 MB, free: 16.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02972/0.4877, allocations: 6.798 MB / 486.9 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002007/0.4879, allocations: 34.41 kB / 486.9 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004912/0.4928, allocations: 3.042 MB / 490 MB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4928, allocations: 4 kB / 490 MB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02155/0.5143, allocations: 5.942 MB / 495.9 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/0.5145, allocations: 148.6 kB / 496.1 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/0.5147, allocations: 20.06 kB / 496.1 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.5161, allocations: 175.7 kB / 496.3 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000246/0.5163, allocations: 92.88 kB / 496.4 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.863e-05/0.5164, allocations: 35.97 kB / 496.4 MB, free: 204 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003871/0.5168, allocations: 354.8 kB / 496.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5168, allocations: 0 / 496.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008258/0.5176, allocations: 256 kB / 497 MB, free: 15.61 MB / 382.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.5179, allocations: 145.4 kB / 497.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006974/0.5249, allocations: 2.108 MB / 499.2 MB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.5249, allocations: 0 / 499.2 MB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003613/0.5285, allocations: 1.015 MB / 0.4885 GB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007618/0.5292, allocations: 126.9 kB / 0.4886 GB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004138/0.5334, allocations: 1.818 MB / 0.4904 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000591/0.534, allocations: 0.9545 MB / 0.4914 GB, free: 9.395 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.5342, allocations: 39.44 kB / 0.4914 GB, free: 9.355 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5342, allocations: 0 / 0.4914 GB, free: 9.355 MB / 382.1 MB Notification: Performance of Templates: time 0.02361/0.5578, allocations: 17.49 MB / 0.5085 GB, free: 7.93 MB / 398.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.092819027137011]