Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001227/0.001227, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004714/0.004714, allocations: 152.6 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8273/0.8273, allocations: 177 MB / 204.9 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.946e-05/3.171e-05, allocations: 6.219 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.005834/0.005866, allocations: 4.423 MB / 330.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002947/0.008813, allocations: 1.256 MB / 331.5 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006417/0.009455, allocations: 11.94 kB / 331.5 MB, free: 9.641 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004026/0.009858, allocations: 126.7 kB / 331.6 MB, free: 9.516 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008155/0.01067, allocations: 269.5 kB / 331.9 MB, free: 9.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009887/0.01166, allocations: 319.4 kB / 332.2 MB, free: 8.938 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001597/0.01326, allocations: 1.145 MB / 333.3 MB, free: 7.789 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004188/0.01368, allocations: 175 kB / 333.5 MB, free: 7.609 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008276/0.01451, allocations: 0.612 MB / 334.1 MB, free: 6.996 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005638/0.01507, allocations: 366.9 kB / 334.5 MB, free: 6.637 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000165/0.01523, allocations: 88 kB / 334.6 MB, free: 6.551 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002258/0.01546, allocations: 112 kB / 334.7 MB, free: 6.441 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.01563, allocations: 211.2 kB / 334.9 MB, free: 6.234 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003483/0.01598, allocations: 315.2 kB / 335.2 MB, free: 5.926 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.01713, allocations: 1.083 MB / 336.3 MB, free: 4.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.01714, allocations: 0 / 336.3 MB, free: 4.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.01714, allocations: 0 / 336.3 MB, free: 4.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.371e-05/0.01717, allocations: 0 / 336.3 MB, free: 4.84 MB / 298.7 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.002362/0.01953, allocations: 1.202 MB / 337.5 MB, free: 3.586 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.01958, allocations: 15.98 kB / 337.5 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.01974, allocations: 96.33 kB / 337.6 MB, free: 3.477 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007169/0.02046, allocations: 429.4 kB / 338 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.541e-05/0.0205, allocations: 45.69 kB / 338 MB, free: 2.988 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.02061, allocations: 68.36 kB / 338.1 MB, free: 2.922 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.02198, allocations: 0.7728 MB / 338.9 MB, free: 2.109 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.022, allocations: 4.141 kB / 338.9 MB, free: 2.105 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-05/0.02207, allocations: 32.38 kB / 338.9 MB, free: 2.074 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.02208, allocations: 15.94 kB / 338.9 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.02359, allocations: 0.6922 MB / 339.6 MB, free: 1.367 MB / 298.7 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.003562/0.02715, allocations: 1.813 MB / 341.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.02841, allocations: 0.5593 MB / 342 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006168/0.02903, allocations: 314.1 kB / 342.3 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.307e-05/0.02907, allocations: 8.5 kB / 342.3 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008594/0.02993, allocations: 0.538 MB / 342.9 MB, free: 14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=54): time 2.695e-06/0.02993, allocations: 4 kB / 342.9 MB, free: 13.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.03933/0.06926, allocations: 15.23 MB / 358.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.466e-05/0.06934, allocations: 145.5 kB / 358.2 MB, free: 14.53 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000452/0.0698, allocations: 0.5223 MB / 358.8 MB, free: 14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001313/0.06993, allocations: 45.7 kB / 358.8 MB, free: 13.95 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.07013, allocations: 396.7 kB / 359.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/0.07033, allocations: 333.1 kB / 359.5 MB, free: 13.22 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/0.07056, allocations: 186.5 kB / 359.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.07068, allocations: 382.8 kB / 360.1 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.07179, allocations: 0.7785 MB / 360.8 MB, free: 11.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.07301, allocations: 1.088 MB / 361.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002215/0.07522, allocations: 1.697 MB / 363.6 MB, free: 8.863 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.07523, allocations: 4 kB / 363.6 MB, free: 8.859 MB / 330.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01082/0.08605, allocations: 5.401 MB / 369 MB, free: 3.414 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.938e-05/0.08611, allocations: 63.41 kB / 369.1 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.08612, allocations: 4 kB / 369.1 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01614/0.1023, allocations: 6.828 MB / 375.9 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/0.1027, allocations: 147.7 kB / 376.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003621/0.1063, allocations: 3.028 MB / 379.1 MB, free: 9.266 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008393/0.1071, allocations: 179.8 kB / 379.3 MB, free: 9.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.644e-05/0.1072, allocations: 43.98 kB / 379.3 MB, free: 9.047 MB / 346.7 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.0003159/0.1075, allocations: 221.6 kB / 379.5 MB, free: 8.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.946e-05/0.1076, allocations: 87.42 kB / 379.6 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01026/0.1179, allocations: 5.072 MB / 384.7 MB, free: 3.637 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.1179, allocations: 8.25 kB / 384.7 MB, free: 3.629 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.1179, allocations: 0 / 384.7 MB, free: 3.629 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/0.1179, allocations: 15.98 kB / 384.7 MB, free: 3.613 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.1191, allocations: 0.7581 MB / 385.5 MB, free: 2.824 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.1191, allocations: 0 / 385.5 MB, free: 2.824 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.1194, allocations: 87.89 kB / 385.6 MB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0149/0.1343, allocations: 6.778 MB / 392.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001468/0.1344, allocations: 23.98 kB / 392.4 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003568/0.138, allocations: 3.025 MB / 395.4 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.138, allocations: 3.938 kB / 395.4 MB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/0.1498, allocations: 5.956 MB / 401.3 MB, free: 2.852 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/0.15, allocations: 67.52 kB / 401.4 MB, free: 2.785 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.1501, allocations: 19.98 kB / 401.4 MB, free: 2.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006075/0.1507, allocations: 167.9 kB / 401.6 MB, free: 2.602 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/0.1509, allocations: 108.7 kB / 401.7 MB, free: 2.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.601e-05/0.1509, allocations: 31.98 kB / 401.7 MB, free: 2.465 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002868/0.1512, allocations: 350.8 kB / 402.1 MB, free: 2.121 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1512, allocations: 0 / 402.1 MB, free: 2.121 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005428/0.1518, allocations: 263.9 kB / 402.3 MB, free: 1.863 MB / 362.7 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.0002306/0.152, allocations: 135.1 kB / 402.5 MB, free: 1.723 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003212/0.1552, allocations: 2.027 MB / 404.5 MB, free: 15.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1552, allocations: 0 / 404.5 MB, free: 15.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001711/0.1569, allocations: 1.008 MB / 405.5 MB, free: 14.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004989/0.1574, allocations: 126.4 kB / 405.6 MB, free: 14.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.16, allocations: 1.799 MB / 407.4 MB, free: 12.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.1602, allocations: 357.7 kB / 407.8 MB, free: 12.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.1603, allocations: 44.48 kB / 407.8 MB, free: 12.27 MB / 378.7 MB Notification: Performance of SimCode: time 1.313e-06/0.1603, allocations: 0 / 407.8 MB, free: 12.27 MB / 378.7 MB Notification: Performance of Templates: time 0.01479/0.1751, allocations: 17.76 MB / 425.6 MB, free: 10.53 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_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.025412986986339]