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.001746/0.001746, allocations: 73.48 kB / 21.24 MB, free: 0.5547 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.002146/0.002146, allocations: 158.2 kB / 24.5 MB, free: 3.715 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.443/1.443, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.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.001553/0.001553, allocations: 56.23 kB / 325.6 MB, free: 228 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09143/0.09298, allocations: 53.33 MB / 378.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.005776/0.09876, allocations: 4.427 MB / 383.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.1008, allocations: 1.252 MB / 384.6 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000232/0.101, allocations: 15.94 kB / 384.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.1013, allocations: 122.7 kB / 384.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004455/0.1018, allocations: 269.6 kB / 385 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006124/0.1024, allocations: 311.5 kB / 385.3 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.1035, allocations: 1.095 MB / 386.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003049/0.1038, allocations: 182.9 kB / 386.6 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004596/0.1042, allocations: 430.5 kB / 387 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005554/0.1048, allocations: 418.1 kB / 387.4 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.1049, allocations: 92 kB / 387.5 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002121/0.1052, allocations: 112 kB / 387.6 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001994/0.1054, allocations: 203.3 kB / 387.8 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004183/0.1058, allocations: 382.3 kB / 388.2 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.1069, allocations: 1.05 MB / 389.2 MB, free: 5.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1069, allocations: 0 / 389.2 MB, free: 5.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1069, allocations: 0 / 389.2 MB, free: 5.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.1069, allocations: 0 / 389.2 MB, free: 5.27 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.002562/0.1095, allocations: 1.202 MB / 390.4 MB, free: 4.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1095, allocations: 16.02 kB / 390.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.1097, allocations: 96.33 kB / 390.5 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007189/0.1104, allocations: 422.1 kB / 391 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.957e-05/0.1104, allocations: 49.69 kB / 391 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.1106, allocations: 72.31 kB / 391.1 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.112, allocations: 0.7841 MB / 391.9 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.1121, allocations: 0 / 391.9 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.463e-05/0.1121, allocations: 28 kB / 391.9 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.1121, allocations: 16 kB / 391.9 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/0.1139, allocations: 0.6961 MB / 392.6 MB, free: 1.789 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.004969/0.1189, allocations: 1.797 MB / 394.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002263/0.1211, allocations: 0.571 MB / 395 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001192/0.1223, allocations: 318.8 kB / 395.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.532e-05/0.1224, allocations: 8.5 kB / 395.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001525/0.1239, allocations: 0.5342 MB / 395.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=54): time 3.216e-06/0.1239, allocations: 4 kB / 395.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=94): time 0.09023/0.2141, allocations: 15.25 MB / 411.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.2142, allocations: 145.5 kB / 411.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006963/0.2149, allocations: 0.5223 MB / 411.7 MB, free: 14.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001454/0.2151, allocations: 45.7 kB / 411.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003448/0.2154, allocations: 400.7 kB / 412.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003227/0.2157, allocations: 325.2 kB / 412.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003701/0.2161, allocations: 190.5 kB / 412.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.2163, allocations: 382.8 kB / 413 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002154/0.2185, allocations: 0.7823 MB / 413.8 MB, free: 12.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002351/0.2208, allocations: 1.092 MB / 414.9 MB, free: 11.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004285/0.2251, allocations: 1.697 MB / 416.6 MB, free: 9.262 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.2251, allocations: 7.875 kB / 416.6 MB, free: 9.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.03235/0.2575, allocations: 5.397 MB / 422 MB, free: 3.812 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.2576, allocations: 66.22 kB / 422.1 MB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.634e-05/0.2576, allocations: 8 kB / 422.1 MB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04108/0.2987, allocations: 6.837 MB / 428.9 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007231/0.2994, allocations: 147.7 kB / 429.1 MB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007133/0.3065, allocations: 3.169 MB / 432.2 MB, free: 9.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.3082, allocations: 179.8 kB / 432.4 MB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/0.3083, allocations: 51.91 kB / 432.5 MB, free: 9.285 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.000464/0.3088, allocations: 229.5 kB / 432.7 MB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/0.309, allocations: 83.48 kB / 432.8 MB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02263/0.3316, allocations: 5.072 MB / 437.8 MB, free: 3.871 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/0.3316, allocations: 12 kB / 437.9 MB, free: 3.859 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.3316, allocations: 4 kB / 437.9 MB, free: 3.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2e-05/0.3316, allocations: 3.984 kB / 437.9 MB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.333, allocations: 0.7696 MB / 438.6 MB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.3331, allocations: 0 / 438.6 MB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005512/0.3336, allocations: 91.83 kB / 438.7 MB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03408/0.3677, allocations: 6.789 MB / 445.5 MB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001542/0.3678, allocations: 31.97 kB / 445.5 MB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006065/0.3739, allocations: 3.041 MB / 448.6 MB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3739, allocations: 4 kB / 448.6 MB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02513/0.399, allocations: 5.952 MB / 454.5 MB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/0.3993, allocations: 67.52 kB / 454.6 MB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/0.3995, allocations: 27.92 kB / 454.6 MB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/0.4009, allocations: 159.9 kB / 454.8 MB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002622/0.4012, allocations: 100.8 kB / 454.9 MB, free: 2.699 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.4013, allocations: 35.97 kB / 454.9 MB, free: 2.664 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004304/0.4017, allocations: 350.8 kB / 455.3 MB, free: 2.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4017, allocations: 0 / 455.3 MB, free: 2.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007914/0.4025, allocations: 256 kB / 455.5 MB, free: 2.07 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.0002474/0.4027, allocations: 146.2 kB / 455.7 MB, free: 1.926 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007827/0.4106, allocations: 2.145 MB / 457.8 MB, free: 15.74 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4106, allocations: 4.375 kB / 457.8 MB, free: 15.74 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003626/0.4142, allocations: 1.019 MB / 458.8 MB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006525/0.4148, allocations: 134.4 kB / 459 MB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003892/0.4187, allocations: 1.783 MB / 460.7 MB, free: 12.78 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.4191, allocations: 361.6 kB / 461.1 MB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000231/0.4193, allocations: 58.17 kB / 461.2 MB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.4194, allocations: 32.5 kB / 461.2 MB, free: 12.3 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4194, allocations: 0 / 461.2 MB, free: 12.3 MB / 430.1 MB Notification: Performance of Templates: time 0.2097/0.6291, allocations: 18.98 MB / 480.2 MB, free: 90.24 MB / 430.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 ida -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: 6.0013702909927815]